summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2006-12-24 00:47:28 +0000
committerDamien Miller <djm@cvs.openbsd.org>2006-12-24 00:47:28 +0000
commitdcf1e7331e078524b556bb31ee274eef6c6223ab (patch)
tree5082b4ed7d5f157b02781ce41246c4e43deb1186
parentd6fd8a1a139a4d2b78e6af01e30e1091c867c922 (diff)
zap incorrect comment
-rw-r--r--sbin/dmesg/dmesg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c
index f3c5eed4cd5..6bd9c0555f7 100644
--- a/sbin/dmesg/dmesg.c
+++ b/sbin/dmesg/dmesg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dmesg.c,v 1.19 2005/04/28 11:10:03 henning Exp $ */
+/* $OpenBSD: dmesg.c,v 1.20 2006/12/24 00:47:27 djm Exp $ */
/* $NetBSD: dmesg.c,v 1.8 1995/03/18 14:54:49 cgd Exp $ */
/*-
@@ -82,10 +82,6 @@ main(int argc, char *argv[])
argc -= optind;
argv += optind;
- /*
- * Discard setgid privileges if not the running kernel so that bad
- * guys can't print interesting stuff from kernel memory.
- */
if (memf == NULL && nlistf == NULL) {
int mib[2], msgbufsize;
size_t len;