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:
d88dd1b
)
Branch HEAD
author
adilger
<adilger>
Wed, 25 Feb 2009 06:48:44 +0000
(06:48 +0000)
committer
adilger
<adilger>
Wed, 25 Feb 2009 06:48:44 +0000
(06:48 +0000)
Fix compile warning.
b=18843
lustre/tests/createtest.c
patch
|
blob
|
history
diff --git
a/lustre/tests/createtest.c
b/lustre/tests/createtest.c
index
d9d4234
..
2c62d7d
100644
(file)
--- a/
lustre/tests/createtest.c
+++ b/
lustre/tests/createtest.c
@@
-96,9
+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: "
if (i == S_IFCHR || i == S_IFBLK) {
if (st.st_rdev != 0x1234) {
fprintf(stderr, "%s: ERROR rdev %s: "
- "%lu != 0x1234",
+ "%l
l
u != 0x1234",
argv[0], name,
argv[0], name,
- (
long unsigned int
)st.st_rdev);
+ (
unsigned long long
)st.st_rdev);
exit(13);
}
}
exit(13);
}
}