rdoff: don't check fwritezero() return value.

Since e76a626055, the return type of fwritezero()
is void.

Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
This commit is contained in:
Jim Kukunas 2014-11-10 10:59:26 -08:00
parent e76a626055
commit e184c0b0cb

View file

@ -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)