summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-02-16 20:59:21 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-02-16 20:59:21 +0000
commitd6b403c00f70fcd358e8f2e1e610cbcea2d02dc9 (patch)
tree5d0ce5dbb09af56a57011ef413498cebb1bf4e9e /regress
parent6b768fa10e2b179065ecbdc755499e8962b6de81 (diff)
Fix type of argv. Found by clang.
ok bluhm@
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/kern/execve/tests/goodaout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/execve/tests/goodaout.c b/regress/sys/kern/execve/tests/goodaout.c
index 68bb56223e2..f491db991e8 100644
--- a/regress/sys/kern/execve/tests/goodaout.c
+++ b/regress/sys/kern/execve/tests/goodaout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: goodaout.c,v 1.4 2003/09/02 23:52:17 david Exp $ */
+/* $OpenBSD: goodaout.c,v 1.5 2017/02/16 20:59:20 patrick Exp $ */
/* $NetBSD: goodaout.c,v 1.3 1995/04/20 22:44:20 cgd Exp $ */
/*
@@ -36,7 +36,7 @@
#include <unistd.h>
int
-main(int argc, char *argv)
+main(int argc, char *argv[])
{
printf("succeeded\n");
exit(0);