From 446bf1767dc52b797bba28b3dd09044e618e3db2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 27 Dec 2007 17:56:45 +0000 Subject: -s uses optarg; Elad Efrat --- regress/sys/kern/noexec/noexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/sys/kern/noexec/noexec.c b/regress/sys/kern/noexec/noexec.c index 5474be8fa3d..f2055de76ff 100644 --- a/regress/sys/kern/noexec/noexec.c +++ b/regress/sys/kern/noexec/noexec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: noexec.c,v 1.9 2004/02/23 08:21:53 mickey Exp $ */ +/* $OpenBSD: noexec.c,v 1.10 2007/12/27 17:56:44 deraadt Exp $ */ /* * Copyright (c) 2002,2003 Michael Shalayeff @@ -185,7 +185,7 @@ main(int argc, char *argv[]) p = NULL; func = &noexec; size = TESTSZ; - while ((ch = getopt(argc, argv, "TDBHSmps")) != -1) { + while ((ch = getopt(argc, argv, "TDBHSmps:")) != -1) { if (p == NULL) { switch (ch) { case 'T': -- cgit v1.2.3