Get rid of unnecessary barrier. Improve comment.
[pintos-anon] / src / tests / userprog / insult.c
index 2f7933d9653c80a4982aa107b6bd3d86cde0a438..442a3ec353766f49caa04b4e87940399799f3801 100644 (file)
@@ -309,7 +309,12 @@ main (int argc, char *argv[])
            usage (-1, "Can't have more than one output file");
          if (++i >= argc)
            usage (-1, "Missing value for -f");
-         create (argv[i]);
+
+          /* Because files have fixed length in the basic Pintos
+             file system, the 0 argument means that this option
+             will not be useful until project 4 is
+             implemented. */
+         create (argv[i], 0);
          handle = open (argv[i]);
           if (handle < 0)
             {