Constify two variables in interface_adv()
This commit is contained in:
parent
20b02dd164
commit
5fb1156905
1 changed files with 3 additions and 3 deletions
|
@ -519,7 +519,7 @@ void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const
|
|||
case 'u':
|
||||
case 'U':
|
||||
{
|
||||
partition_t *partition=current_element->part;
|
||||
const partition_t *partition=current_element->part;
|
||||
if(partition->sb_offset!=0 && partition->sb_size>0)
|
||||
{
|
||||
io_redir_add_redir(disk_car,
|
||||
|
@ -548,7 +548,7 @@ void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const
|
|||
case 'l':
|
||||
case 'L':
|
||||
{
|
||||
partition_t *partition=current_element->part;
|
||||
const partition_t *partition=current_element->part;
|
||||
if(partition->sb_offset!=0 && partition->sb_size>0)
|
||||
{
|
||||
io_redir_add_redir(disk_car,
|
||||
|
|
Loading…
Reference in a new issue