summaryrefslogtreecommitdiff
path: root/sbin/sysctl
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/sysctl')
-rw-r--r--sbin/sysctl/sysctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 96d0f80f256..b71b9acae61 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.172 2010/04/21 19:40:59 deraadt Exp $ */
+/* $OpenBSD: sysctl.c,v 1.173 2010/08/19 18:14:14 kettenis Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -444,6 +444,9 @@ parse(char *string, int flags)
return;
warnx("use fstat to view %s information", string);
return;
+ case KERN_CONSDEV:
+ special |= CHRDEV;
+ break;
}
break;