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-6245 libcfs: remove types.h from userland code
[fs/lustre-release.git]
/
lustre
/
tests
/
multiop.c
diff --git
a/lustre/tests/multiop.c
b/lustre/tests/multiop.c
index
fb6ff6b
..
40a8cb4
100644
(file)
--- a/
lustre/tests/multiop.c
+++ b/
lustre/tests/multiop.c
@@
-37,10
+37,11
@@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* pull in O_DIRECTORY in bits/fcntl.h */
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* pull in O_DIRECTORY in bits/fcntl.h */
#endif
-#include <
stdi
o.h>
+#include <
errn
o.h>
#include <fcntl.h>
#include <fcntl.h>
+#include <limits.h>
+#include <stdio.h>
#include <string.h>
#include <string.h>
-#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
@@
-649,7
+650,7
@@
int main(int argc, char **argv)
" %d\n", rc);
exit(-rc);
}
" %d\n", rc);
exit(-rc);
}
- printf("dataversion is
"LPU64"\n",
dv);
+ printf("dataversion is
%ju\n", (uintmax_t)
dv);
break;
case 'y':
if (fsync(fd) == -1) {
break;
case 'y':
if (fsync(fd) == -1) {