From cbd72439031dd27311fcd42adb647046fb4b674b Mon Sep 17 00:00:00 2001 From: walter Date: Thu, 21 Jun 2007 01:33:12 +0000 Subject: [PATCH] Branch b1_6 b=12348 i=adilger i=mjmac fix build errors seen when compiling on cray xt3 systems --- lustre/liblustre/tests/sanity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.8.3.1