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-6540 test: fix no %s specifier for the file
[fs/lustre-release.git]
/
lustre
/
tests
/
flock.c
diff --git
a/lustre/tests/flock.c
b/lustre/tests/flock.c
index
65c40e4
..
22e5dc5
100644
(file)
--- a/
lustre/tests/flock.c
+++ b/
lustre/tests/flock.c
@@
-175,7
+175,7
@@
void t21()
fd = open(file, O_RDWR|O_CREAT, (mode_t)0666);
if (fd < 0) {
-
printf("error open file: %m\n", file
);
+
printf("open(%s) error: %s\n", file, strerror(errno)
);
exit(-1);
}