mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
One last gcc-4.6 warning fixed
This commit is contained in:
parent
38d90a85ec
commit
4ba1159da0
1
dos33.c
1
dos33.c
@ -551,6 +551,7 @@ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user