From: Ben Pfaff Date: Mon, 20 Sep 2004 03:58:38 +0000 (+0000) Subject: Fix call to create(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1e662c5081be73e25d3e9ea16ceb27a6368720e;p=pintos-anon Fix call to create(). --- diff --git a/src/tests/userprog/insult.c b/src/tests/userprog/insult.c index 2f7933d..c0064c3 100644 --- a/src/tests/userprog/insult.c +++ b/src/tests/userprog/insult.c @@ -309,7 +309,7 @@ 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]); + create (argv[i], 0); handle = open (argv[i]); if (handle < 0) {