artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6900e6
)
Fix previous commit. It mistakenly included a change for debug.
author
yasuoka
<yasuoka@openbsd.org>
Mon, 10 Sep 2018 06:40:06 +0000
(06:40 +0000)
committer
yasuoka
<yasuoka@openbsd.org>
Mon, 10 Sep 2018 06:40:06 +0000
(06:40 +0000)
usr.sbin/pstat/pstat.c
patch
|
blob
|
history
diff --git
a/usr.sbin/pstat/pstat.c
b/usr.sbin/pstat/pstat.c
index
6ad0460
..
4bae8c1
100644
(file)
--- a/
usr.sbin/pstat/pstat.c
+++ b/
usr.sbin/pstat/pstat.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: pstat.c,v 1.1
19 2018/09/07 07:24:05
yasuoka Exp $ */
+/* $OpenBSD: pstat.c,v 1.1
20 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");