Whamcloud - gitweb
Branch b1_6
authorwalter <walter>
Thu, 21 Jun 2007 01:33:12 +0000 (01:33 +0000)
committerwalter <walter>
Thu, 21 Jun 2007 01:33:12 +0000 (01:33 +0000)
b=12348
i=adilger
i=mjmac

fix build errors seen when compiling on cray xt3 systems

lustre/liblustre/tests/sanity.c

index b567ad9..b07906d 100644 (file)
@@ -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;