mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-21 03:29:49 +00:00
max_blocks is unused, but value must be read to change file offset
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
4f3aa35240
commit
bd1790c47f
@ -32,6 +32,7 @@ int emile_first_set_param_scsi_extents( int fd, int drive_num, int second_offset
|
||||
return EEMILE_CANNOT_READ_FIRST;
|
||||
|
||||
/* max_blocks = read_short((u_int16_t*)&first[1022]) / 6; */
|
||||
(void)read_short((u_int16_t*)&first[1022]);
|
||||
|
||||
write_short((u_int16_t*)&first[1014], blocksize);
|
||||
write_short((u_int16_t*)&first[1016], drive_num);
|
||||
|
Loading…
Reference in New Issue
Block a user