From: walter Date: Thu, 21 Jun 2007 01:33:12 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~1518 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=cbd72439031dd27311fcd42adb647046fb4b674b;p=fs%2Flustre-release.git Branch b1_6 b=12348 i=adilger i=mjmac fix build errors seen when compiling on cray xt3 systems --- diff --git a/lustre/liblustre/tests/sanity.c b/lustre/liblustre/tests/sanity.c index b567ad9..b07906d 100644 --- a/lustre/liblustre/tests/sanity.c +++ b/lustre/liblustre/tests/sanity.c @@ -1359,12 +1359,12 @@ int t56(char *name) rc = getdirentries(fd, (char *)&dir, nbytes, &basep); if (rc != -1) { - printf("Test failed: getdirentries returned %d\n", rc); + printf("Test failed: getdirentries returned %ld\n", rc); t_close(fd); return -1; } if (errno != EINVAL) { - printf("Test failed: getdirentries returned %d but errno is set" + printf("Test failed: getdirentries returned %ld but errno is set" " to %d (should be EINVAL)\n", rc, errno); t_close(fd); return -1;