Whamcloud - gitweb
Branch HEAD
authorhuanghua <huanghua>
Mon, 23 Feb 2009 15:25:46 +0000 (15:25 +0000)
committerhuanghua <huanghua>
Mon, 23 Feb 2009 15:25:46 +0000 (15:25 +0000)
b=18443

quick fix for this build failure issue.
Elena may have more fix for this.

lustre/tests/createtest.c

index 4406fea..d9d4234 100644 (file)
@@ -97,7 +97,8 @@ int main(int argc, char *argv[])
                                if (st.st_rdev != 0x1234) {
                                        fprintf(stderr, "%s: ERROR rdev %s: "
                                                "%lu != 0x1234",
-                                               argv[0], name, st.st_rdev);
+                                               argv[0], name,
+                                               (long unsigned int)st.st_rdev);
                                        exit(13);
                                }
                        }