X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=blobdiff_plain;f=ltp%2Ffsx.c;h=1167d728922c12feeb4cafc0bd70835359add00b;hp=e4c528dfb9ed2182da3ce980bf88968dbf31122a;hb=90eed13c43dff6c3f8a794bb5406aac43223b06e;hpb=caab36f192a3f3974c4fba6a9863060f74c7bb1e diff --git a/ltp/fsx.c b/ltp/fsx.c index e4c528df..1167d728 100644 --- a/ltp/fsx.c +++ b/ltp/fsx.c @@ -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;