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:
170fc89
)
Branch HEAD
author
adilger
<adilger>
Mon, 24 Nov 2008 21:30:35 +0000
(21:30 +0000)
committer
adilger
<adilger>
Mon, 24 Nov 2008 21:30:35 +0000
(21:30 +0000)
Fix filename formatting to include space for sticky bit.
lustre/tests/createtest.c
patch
|
blob
|
history
diff --git
a/lustre/tests/createtest.c
b/lustre/tests/createtest.c
index
6f7ec0d
..
1e0c112
100644
(file)
--- a/
lustre/tests/createtest.c
+++ b/
lustre/tests/createtest.c
@@
-67,7
+67,7
@@
int main(int argc, char *argv[])
int mode = i | 0644;
int rc;
- sprintf(name, "%s-mknod%0
6
o", argv[1], mode);
+ sprintf(name, "%s-mknod%0
7
o", argv[1], mode);
rc = mknod(name, mode, 0x1234);
switch (i) {
case 0:
@@
-116,7
+116,7
@@
int main(int argc, char *argv[])
int rc;
mode = i | 0644;
- sprintf(name, "%s-creat%0
6
o", argv[1], mode);
+ sprintf(name, "%s-creat%0
7
o", argv[1], mode);
fd = open(name, O_CREAT|O_RDONLY, mode);
if (fd < 0) {
fprintf(stderr, "%s: ERROR creat %s: %s\n",