projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfstests: fix nr of args in open calls
[xfstests-dev.git]
/
src
/
enospc_unlink.c
diff --git
a/src/enospc_unlink.c
b/src/enospc_unlink.c
index 0cfe53e3b0efe6fa9edd6b30497606bcd473a93e..b0b9c0d60a871895b7fd10add87a2bf384f6c763 100644
(file)
--- a/
src/enospc_unlink.c
+++ b/
src/enospc_unlink.c
@@
-40,7
+40,7
@@
int main(int argc, char **argv)
memset(ptr, 0xffffffff, sz);
for (i = 0; i < count; i++) {
- fd = open(argv[1], O_CREAT|O_WRONLY);
+ fd = open(argv[1], O_CREAT|O_WRONLY
, 0666
);
if (fd < 0) {
perror(argv[1]);
exit(1);