Whamcloud - gitweb
LU-746 test: obdfilter-survey FAIL hndls expected >8, have 2
[fs/lustre-release.git] / lustre / tests / createtest.c
index 4406fea..3795f05 100644 (file)
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
@@ -96,8 +96,9 @@ int main(int argc, char *argv[])
                        if (i == S_IFCHR || i == S_IFBLK) {
                                if (st.st_rdev != 0x1234) {
                                        fprintf(stderr, "%s: ERROR rdev %s: "
-                                               "%lu != 0x1234",
-                                               argv[0], name, st.st_rdev);
+                                               "%llu != 0x1234",
+                                               argv[0], name,
+                                               (unsigned long long)st.st_rdev);
                                        exit(13);
                                }
                        }