diff options
author | alfred <alfred@FreeBSD.org> | 2000-07-31 09:24:32 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2000-07-31 09:24:32 +0000 |
commit | 36e9193ef54c5d88f8cda6de24b54ca0bb10ecdc (patch) | |
tree | 0a4a645581b7c27b59af08a2039c9a0b051742d5 /sys/kern/uipc_mbuf.c | |
parent | 753cf540b9dcb31a51df98173e5a02b3840b7d98 (diff) | |
download | FreeBSD-src-36e9193ef54c5d88f8cda6de24b54ca0bb10ecdc.zip FreeBSD-src-36e9193ef54c5d88f8cda6de24b54ca0bb10ecdc.tar.gz |
mbstat should be a read-only sysctl.
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 1771137..89ec747 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -80,7 +80,7 @@ SYSCTL_INT(_kern_ipc, KIPC_MAX_DATALEN, max_datalen, CTLFLAG_RW, &max_datalen, 0, ""); SYSCTL_INT(_kern_ipc, OID_AUTO, mbuf_wait, CTLFLAG_RW, &mbuf_wait, 0, ""); -SYSCTL_STRUCT(_kern_ipc, KIPC_MBSTAT, mbstat, CTLFLAG_RW, &mbstat, mbstat, ""); +SYSCTL_STRUCT(_kern_ipc, KIPC_MBSTAT, mbstat, CTLFLAG_RD, &mbstat, mbstat, ""); SYSCTL_OPAQUE(_kern_ipc, OID_AUTO, mbtypes, CTLFLAG_RD, mbtypes, sizeof(mbtypes), "LU", ""); SYSCTL_INT(_kern_ipc, KIPC_NMBCLUSTERS, nmbclusters, CTLFLAG_RD, |