From: yasuoka Date: Mon, 10 Sep 2018 06:40:06 +0000 (+0000) Subject: Fix previous commit. It mistakenly included a change for debug. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d42f7a296ff3a64322232598ebabdb007759b518;p=openbsd Fix previous commit. It mistakenly included a change for debug. --- 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");