summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-12-09 02:26:45 +0000
committereivind <eivind@FreeBSD.org>1998-12-09 02:26:45 +0000
commitd246f6b8ce4e0d7b48faa60339763ccc30b81b3e (patch)
treec880aa8bcb164f3b201ead70e30b6fd9c9d31134 /sys/kern
parentb4ee85eb7dc6e4064e9d67c5b4c8cde5ae527397 (diff)
downloadFreeBSD-src-d246f6b8ce4e0d7b48faa60339763ccc30b81b3e.zip
FreeBSD-src-d246f6b8ce4e0d7b48faa60339763ccc30b81b3e.tar.gz
Get rid of CTLTYPE_OPAQUE in a SYSCTL_OPAQUE - it is added my the
SYSCTL_OPAQUE macro.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/tty_cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index 1482c61..6d31e94 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
- * $Id: cons.c,v 1.58 1998/06/07 17:09:58 dfr Exp $
+ * $Id: cons.c,v 1.59 1998/08/23 08:26:40 bde Exp $
*/
#include "opt_devfs.h"
@@ -91,7 +91,7 @@ static struct cdevsw cn_cdevsw = {
};
static dev_t cn_dev_t; /* seems to be never really used */
-SYSCTL_OPAQUE(_machdep, CPU_CONSDEV, consdev, CTLTYPE_OPAQUE|CTLFLAG_RD,
+SYSCTL_OPAQUE(_machdep, CPU_CONSDEV, consdev, CTLFLAG_RD,
&cn_dev_t, sizeof cn_dev_t, "T,dev_t", "");
static int cn_mute;
OpenPOWER on IntegriCloud