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=6e9b520f984cd185ee72ddc1fefc94bf2a4e31f2;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) {