mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: fix some warnings
Fix a couple of build warnings. Signed-off-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -1038,7 +1038,7 @@ __aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
|
||||
fprintf(stderr, "bad io length: %lu instead of %u\n",
|
||||
res, len);
|
||||
else {
|
||||
fprintf(stderr, "errcode=%d\n", -res);
|
||||
fprintf(stderr, "errcode=%ld\n", -res);
|
||||
fprintf(stderr, "aio_rw: async io failed: %s\n",
|
||||
strerror(-res));
|
||||
ret = res;
|
||||
|
||||
Reference in New Issue
Block a user