From 2c5685b9db4928888a1a2384f8eaf0070cec2f29 Mon Sep 17 00:00:00 2001 From: anton Date: Tue, 3 Sep 2024 04:59:03 +0000 Subject: [PATCH] Fix test_fork() prototype. --- regress/sys/kern/unveil/syscalls.c | 5 +++-- 1 file 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 @@ -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(); -- 2.20.1