mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
test_ioctls: add missing open arg
This commit is contained in:
parent
bc9b863f8e
commit
a7c0f56e56
@ -26,7 +26,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
fn = argv[1];
|
||||
|
||||
fd = open(fn, O_CREAT|O_RDWR);
|
||||
fd = open(fn, O_CREAT|O_RDWR, 0644);
|
||||
if (fd < 0) {
|
||||
perror("couldn't open file");
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user