aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vt/vt.h
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-06-27 22:05:21 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-06-27 22:05:21 +0000
commit37a107a407cdb47ee0f4c4337e369e9973b34076 (patch)
treefce5301b062a855bc68b9cb76c6b5966c5a2acbe /sys/dev/vt/vt.h
parentd2f1b8f4d2975ca1ec3e7519f9d755af40f357e0 (diff)
Notes
Diffstat (limited to 'sys/dev/vt/vt.h')
-rw-r--r--sys/dev/vt/vt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/vt/vt.h b/sys/dev/vt/vt.h
index cd6aa5ba4db2a..b216499b735f1 100644
--- a/sys/dev/vt/vt.h
+++ b/sys/dev/vt/vt.h
@@ -84,8 +84,9 @@
#define VT_SYSCTL_INT(_name, _default, _descr) \
static int vt_##_name = _default; \
-SYSCTL_INT(_kern_vt, OID_AUTO, _name, CTLFLAG_RWTUN, &vt_##_name, _default,\
- _descr);
+SYSCTL_INT(_kern_vt, OID_AUTO, _name, CTLFLAG_RW, &vt_##_name, _default,\
+ _descr); \
+TUNABLE_INT("kern.vt." #_name, &vt_##_name);
struct vt_driver;