diff options
author | 2016-04-27 13:05:05 +0000 | |
---|---|---|
committer | 2016-04-27 13:05:05 +0000 | |
commit | 8e927f691e9e428e248f9c5aa99f1beef3fc3a8c (patch) | |
tree | 62879db722b31a4a014d9cde518371a12afe59f3 | |
parent | whitespace fixes, no functional change (diff) | |
download | wireguard-openbsd-8e927f691e9e428e248f9c5aa99f1beef3fc3a8c.tar.xz wireguard-openbsd-8e927f691e9e428e248f9c5aa99f1beef3fc3a8c.zip |
unbreak pledge/generic test (breaked since ?)
it still requires a pledge(2) with wlpath enable.
-rw-r--r-- | regress/sys/kern/pledge/generic/test_stdio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/kern/pledge/generic/test_stdio.c b/regress/sys/kern/pledge/generic/test_stdio.c index ec6546226be..b631a513deb 100644 --- a/regress/sys/kern/pledge/generic/test_stdio.c +++ b/regress/sys/kern/pledge/generic/test_stdio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test_stdio.c,v 1.1 2015/10/26 18:52:19 semarie Exp $ */ +/* $OpenBSD: test_stdio.c,v 1.2 2016/04/27 13:05:05 semarie Exp $ */ /* * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org> * @@ -29,14 +29,14 @@ test_request_stdio() _exit(errno); clock_getres(CLOCK_MONOTONIC, NULL); - clock_gettime(CLOCK_MONOTONIC, NULL); + { struct timespec tp; clock_gettime(CLOCK_MONOTONIC, &tp); } /* fchdir(); */ getdtablecount(); getegid(); geteuid(); getgid(); getgroups(0, NULL); - getitimer(ITIMER_REAL, NULL); + { struct itimerval v; getitimer(ITIMER_REAL, &v); } getlogin(); getpgid(0); getpgrp(); |