Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / tests / mkdirdeep.c
index 38c0cea..d5f1b27 100644 (file)
@@ -2,8 +2,8 @@
  * vim:expandtab:shiftwidth=8:tabstop=8:
  *
  * Compile with:
- * cc -I../../portals/include -o mkdirdeep mkdirdeep.c
- *    -L../../portals/linux/utils -lptlctl
+ * cc -I../../lnet/include -o mkdirdeep mkdirdeep.c
+ *    -L../../lnet/linux/utils -lptlctl
  */
 
 #include <stdio.h>
@@ -16,7 +16,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <linux/limits.h>
-#include <portals/lltrace.h>
+#include <libcfs/lltrace.h>
 
 static int opt_verbose = 0;
 static int opt_trace = 0;
@@ -86,11 +86,12 @@ int do_stat(char *path)
                 exit(1);
         }
         if (opt_verbose)
-                printf("stat %s = inode %lu\n", path, mystat.st_ino);
+                printf("stat %s = inode %lu\n", path,
+                       (unsigned long)mystat.st_ino);
 
         if (opt_trace) {
                 snprintf(mark_buf, PATH_MAX, "stat %s = inode %lu",
-                         path, mystat.st_ino);
+                         path, (unsigned long)mystat.st_ino);
                 ltrace_mark(0, mark_buf);
         }