test_ioctls: add missing open arg

This commit is contained in:
Sage Weil 2009-10-06 09:48:12 -07:00
parent bc9b863f8e
commit a7c0f56e56

View File

@ -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;