From d42f7a296ff3a64322232598ebabdb007759b518 Mon Sep 17 00:00:00 2001 From: yasuoka Date: Mon, 10 Sep 2018 06:40:06 +0000 Subject: [PATCH] Fix previous commit. It mistakenly included a change for debug. --- usr.sbin/pstat/pstat.c | 6 +++--- 1 file 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"); -- 2.20.1