summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2024-09-03 04:59:04 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2024-09-03 04:59:04 +0000
commit9b42b321e984c9cd728f72f70f9d9b9967a01e64 (patch)
treea0a822614bd3af50ec907707826c6287bb08ab62
parentc636aa2196ff2343544a0fb887c46284e6dc2d95 (diff)
Fix test_fork() prototype.
-rw-r--r--regress/sys/kern/unveil/syscalls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/sys/kern/unveil/syscalls.c b/regress/sys/kern/unveil/syscalls.c
index 0899aa9f3b2..76fce4fa504 100644
--- a/regress/sys/kern/unveil/syscalls.c
+++ b/regress/sys/kern/unveil/syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscalls.c,v 1.36 2024/08/23 12:56:26 anton Exp $ */
+/* $OpenBSD: syscalls.c,v 1.37 2024/09/03 04:59:03 anton Exp $ */
/*
* Copyright (c) 2017-2019 Bob Beck <beck@openbsd.org>
@@ -679,8 +679,9 @@ test_fork_body(int do_uv)
UV_SHOULD_ENOENT((open(uv_file2, O_RDWR|O_CREAT, 0644) == -1), "open after fork");
return 0;
}
+
static int
-test_fork()
+test_fork(int do_uv)
{
printf("testing fork inhertiance\n");
do_unveil();