Fix a couple of build warnings.
Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
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;
blfs.blf_type = XFS_LI_BUF;
blfs.blf_size = 2;
blfs.blf_flags = XFS_BLI_CANCEL;
+ blfs.blf_len = 0;
blfs.blf_blkno = 1;
blfs.blf_map_size = 1;
blfs.blf_data_map[0]= 0;