summaryrefslogtreecommitdiff
path: root/regress/sys/kern/dup2_self/dup2_self.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/dup2_self/dup2_self.c')
-rw-r--r--regress/sys/kern/dup2_self/dup2_self.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/dup2_self/dup2_self.c b/regress/sys/kern/dup2_self/dup2_self.c
index 08a4cd4a94c..5849abe5e86 100644
--- a/regress/sys/kern/dup2_self/dup2_self.c
+++ b/regress/sys/kern/dup2_self/dup2_self.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dup2_self.c,v 1.2 2002/02/18 13:32:08 art Exp $ */
+/* $OpenBSD: dup2_self.c,v 1.3 2003/07/31 21:48:08 deraadt Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain.
*/
@@ -29,7 +29,7 @@
*/
int
-main()
+main(int argc, char *argv[])
{
int orgfd, fd1, fd2;
char temp[] = "/tmp/dup2XXXXXXXXX";