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-5285 mdt: reconstruct to handle non-existing objects
[fs/lustre-release.git]
/
lustre
/
tests
/
openfilleddirunlink.c
diff --git
a/lustre/tests/openfilleddirunlink.c
b/lustre/tests/openfilleddirunlink.c
index
af61782
..
b601185
100644
(file)
--- a/
lustre/tests/openfilleddirunlink.c
+++ b/
lustre/tests/openfilleddirunlink.c
@@
-72,7
+72,7
@@
int main(int argc, char **argv)
exit(1);
}
-
sprintf(fname
, "%s/0", dname1);
+
snprintf(fname, sizeof(fname)
, "%s/0", dname1);
fprintf(stderr, "creating file %s\n", fname);
fd = creat(fname, 0666);
if (fd < 0) {