summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2018-09-10 06:40:06 +0000
committeryasuoka <yasuoka@openbsd.org>2018-09-10 06:40:06 +0000
commitd42f7a296ff3a64322232598ebabdb007759b518 (patch)
tree0d4ae571857925c27155b2182afe5a6d37a3b776
parentput the port into autonegotiate mode on attach, since that's the default (diff)
downloadwireguard-openbsd-d42f7a296ff3a64322232598ebabdb007759b518.tar.xz
wireguard-openbsd-d42f7a296ff3a64322232598ebabdb007759b518.zip
Fix previous commit. It mistakenly included a change for debug.
-rw-r--r--usr.sbin/pstat/pstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 6ad0460fca3..4bae8c197e9 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.119 2018/09/07 07:24:05 yasuoka Exp $ */
+/* $OpenBSD: pstat.c,v 1.120 2018/09/10 06:40:06 yasuoka Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
@@ -229,8 +229,8 @@ main(int argc, char *argv[])
ttymodeprep();
}
-// if (unveil(_PATH_DEVDB, "r") == -1)
-// err(1, "unveil");
+ if (unveil(_PATH_DEVDB, "r") == -1)
+ err(1, "unveil");
if (pledge("stdio rpath vminfo", NULL) == -1)
err(1, "pledge");