summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2003-03-28 14:17:17 +0000
committerrobert <robert@FreeBSD.org>2003-03-28 14:17:17 +0000
commitd6b685fe45c9bfe193fd3cdf5dc53d54df6897ac (patch)
tree272351e4c19e8a8468df75459b0e188c6ae4f68b
parent7a8f2fdcf956f7f2430aea33ec137f8efc61f21f (diff)
downloadFreeBSD-src-d6b685fe45c9bfe193fd3cdf5dc53d54df6897ac.zip
FreeBSD-src-d6b685fe45c9bfe193fd3cdf5dc53d54df6897ac.tar.gz
Sysctl treats `long' and `unsigned long' differently - fix a comment.
-rw-r--r--sys/sys/sysctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index ba67fe8..8762e72 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -249,7 +249,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_entry);
sysctl_add_oid(ctx, parent, nbr, name, CTLTYPE_LONG|(access), \
ptr, 0, sysctl_handle_long, "L", descr)
-/* Oid for a long. The pointer must be non NULL. */
+/* Oid for an unsigned long. The pointer must be non NULL. */
#define SYSCTL_ULONG(parent, nbr, name, access, ptr, val, descr) \
SYSCTL_OID(parent, nbr, name, CTLTYPE_ULONG|(access), \
ptr, val, sysctl_handle_long, "LU", descr)
OpenPOWER on IntegriCloud