summaryrefslogtreecommitdiffstats
path: root/sys/xen
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-19 00:57:58 +0000
committermdf <mdf@FreeBSD.org>2011-01-19 00:57:58 +0000
commitcaeebe8c54f48a26f3b4c95db3431267540067a5 (patch)
tree7a74c504e4b0da0837b930ee1f78aca14bef881e /sys/xen
parent574efcb2958ba37407e674b3211f97b7ea4e7d3f (diff)
downloadFreeBSD-src-caeebe8c54f48a26f3b4c95db3431267540067a5.zip
FreeBSD-src-caeebe8c54f48a26f3b4c95db3431267540067a5.tar.gz
Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.
Diffstat (limited to 'sys/xen')
-rw-r--r--sys/xen/xenbus/xenbusb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/xen/xenbus/xenbusb.c b/sys/xen/xenbus/xenbusb.c
index 49facb6..4bc86aa 100644
--- a/sys/xen/xenbus/xenbusb.c
+++ b/sys/xen/xenbus/xenbusb.c
@@ -308,7 +308,7 @@ xenbusb_device_sysctl_init(device_t dev)
SYSCTL_CHILDREN(tree),
OID_AUTO,
"xenstore_path",
- CTLFLAG_RD,
+ CTLTYPE_STRING | CTLFLAG_RD,
dev,
XENBUS_IVAR_NODE,
xenbusb_device_sysctl_handler,
@@ -319,7 +319,7 @@ xenbusb_device_sysctl_init(device_t dev)
SYSCTL_CHILDREN(tree),
OID_AUTO,
"xenbus_dev_type",
- CTLFLAG_RD,
+ CTLTYPE_STRING | CTLFLAG_RD,
dev,
XENBUS_IVAR_TYPE,
xenbusb_device_sysctl_handler,
@@ -330,7 +330,7 @@ xenbusb_device_sysctl_init(device_t dev)
SYSCTL_CHILDREN(tree),
OID_AUTO,
"xenbus_connection_state",
- CTLFLAG_RD,
+ CTLTYPE_STRING | CTLFLAG_RD,
dev,
XENBUS_IVAR_STATE,
xenbusb_device_sysctl_handler,
@@ -341,7 +341,7 @@ xenbusb_device_sysctl_init(device_t dev)
SYSCTL_CHILDREN(tree),
OID_AUTO,
"xenbus_peer_domid",
- CTLFLAG_RD,
+ CTLTYPE_INT | CTLFLAG_RD,
dev,
XENBUS_IVAR_OTHEREND_ID,
xenbusb_device_sysctl_handler,
@@ -352,7 +352,7 @@ xenbusb_device_sysctl_init(device_t dev)
SYSCTL_CHILDREN(tree),
OID_AUTO,
"xenstore_peer_path",
- CTLFLAG_RD,
+ CTLTYPE_STRING | CTLFLAG_RD,
dev,
XENBUS_IVAR_OTHEREND_PATH,
xenbusb_device_sysctl_handler,
OpenPOWER on IntegriCloud