mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-25 05:29:34 +00:00
One last gcc-4.6 warning fixed
This commit is contained in:
parent
38d90a85ec
commit
4ba1159da0
3
dos33.c
3
dos33.c
@ -551,7 +551,8 @@ static int dos33_add_file(int fd,char type,char *filename,
|
||||
|
||||
/* read from input */
|
||||
bytes_read=read(input_fd,sector_buffer,BYTES_PER_SECTOR);
|
||||
|
||||
if (bytes_read<0) fprintf(stderr,"Error reading bytes!\n");
|
||||
|
||||
/* write to disk image */
|
||||
lseek(fd,DISK_OFFSET((data_ts>>8)&0xff,data_ts&0xff),SEEK_SET);
|
||||
result=write(fd,sector_buffer,BYTES_PER_SECTOR);
|
||||
|
Loading…
Reference in New Issue
Block a user