diag/geodsp: fix ordering of args to fread/fwrite in mk-lba-img
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Apr 2011 21:27:28 +0000 (14:27 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Apr 2011 21:27:28 +0000 (14:27 -0700)
commitb69866a20179104349d3da48663d33faf4575a1a
tree3752be3d06ec939aecdedafa58427bc0d9550241
parent5d138981b4666d39963dfeca0f1f33fcb16e26f0
diag/geodsp: fix ordering of args to fread/fwrite in mk-lba-img

If we want the return value to be in bytes, make sure we pass the byte
count in the nmemb field instead of the size field.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
diag/geodsp/mk-lba-img.c