summaryrefslogtreecommitdiffstats
path: root/sys/kern/sysv_msg.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-18 21:14:18 +0000
committermdf <mdf@FreeBSD.org>2011-01-18 21:14:18 +0000
commitca68749f2ad8bc8992280cb0a9ad055f2958f9c8 (patch)
tree1d9bc94216e7a8116ebbeb84cb83a1efd1d6cad6 /sys/kern/sysv_msg.c
parent0086ff603fc174491c4507f87d93ec6d8f0a2ae9 (diff)
downloadFreeBSD-src-ca68749f2ad8bc8992280cb0a9ad055f2958f9c8.zip
FreeBSD-src-ca68749f2ad8bc8992280cb0a9ad055f2958f9c8.tar.gz
Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need
to rely on the format string.
Diffstat (limited to 'sys/kern/sysv_msg.c')
-rw-r--r--sys/kern/sysv_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c
index dbd50b1..a5291db 100644
--- a/sys/kern/sysv_msg.c
+++ b/sys/kern/sysv_msg.c
@@ -1284,7 +1284,7 @@ SYSCTL_INT(_kern_ipc, OID_AUTO, msgssz, CTLFLAG_RDTUN, &msginfo.msgssz, 0,
"Size of a message segment");
SYSCTL_INT(_kern_ipc, OID_AUTO, msgseg, CTLFLAG_RDTUN, &msginfo.msgseg, 0,
"Number of message segments");
-SYSCTL_PROC(_kern_ipc, OID_AUTO, msqids, CTLFLAG_RD,
+SYSCTL_PROC(_kern_ipc, OID_AUTO, msqids, CTLTYPE_OPAQUE | CTLFLAG_RD,
NULL, 0, sysctl_msqids, "", "Message queue IDs");
#ifdef COMPAT_FREEBSD32
OpenPOWER on IntegriCloud