Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f7c9a
)
fix annoying printf warnings in mkdirdeep
author
phil
<phil>
Thu, 11 Sep 2003 18:25:34 +0000
(18:25 +0000)
committer
phil
<phil>
Thu, 11 Sep 2003 18:25:34 +0000
(18:25 +0000)
lustre/tests/mkdirdeep.c
patch
|
blob
|
history
diff --git
a/lustre/tests/mkdirdeep.c
b/lustre/tests/mkdirdeep.c
index
38c0cea
..
1326c1e
100644
(file)
--- a/
lustre/tests/mkdirdeep.c
+++ b/
lustre/tests/mkdirdeep.c
@@
-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);
}