mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-13 17:57:12 +08:00
rdoff: don't check fwritezero() return value.
Since e76a6260556d76b756ef56cdd4ca5b41e61259bc, the return type of fwritezero() is void. Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
This commit is contained in:
parent
e76a626055
commit
e184c0b0cb
@ -86,8 +86,7 @@ static int output_bin(FILE *f, void *data, uint32_t bytes, uint32_t where)
|
||||
}
|
||||
|
||||
pad = (where-origin) - offset;
|
||||
if (fwritezero(pad, f) != pad)
|
||||
return -1;
|
||||
fwritezero(pad, f);
|
||||
offset += pad;
|
||||
|
||||
if (fwrite(data, 1, bytes, f) != bytes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user