Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-746 test: obdfilter-survey FAIL hndls expected >8, have 2
[fs/lustre-release.git]
/
lustre
/
tests
/
createtest.c
diff --git
a/lustre/tests/createtest.c
b/lustre/tests/createtest.c
index
4406fea
..
3795f05
100644
(file)
--- a/
lustre/tests/createtest.c
+++ b/
lustre/tests/createtest.c
@@
-26,7
+26,7
@@
* GPL HEADER END
*/
/*
* 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.
*/
/*
* 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: "
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);
}
}
exit(13);
}
}