xfstests: fix nr of args in open calls
[xfstests-dev.git] / ltp / iogen.c
index 17087285c50e838c49cc6ef558ce56b671a26a17..b83b8f48d9da16e0de135e32c9429694b4136017 100644 (file)
@@ -1060,7 +1060,7 @@ int       nbytes;
 
     Oflags |= O_CREAT | O_WRONLY;
 
-    if ((fd = open(path, Oflags, 0666, Ocbits, Ocblks)) == -1) {
+    if ((fd = open(path, Oflags, 0666)) == -1) {
        fprintf(stderr, "iogen%s:  Could not create/open file %s: %s (%d)\n",
                TagName, path, SYSERR, errno);
        return -1;