summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2013-02-11 23:05:10 +0000
committermarius <marius@FreeBSD.org>2013-02-11 23:05:10 +0000
commit27d6f70455f2fff6d47238bb32c66e6b551ead7b (patch)
treedbb1346a6a578a03d8d9f6e364aa92f060769754
parente02a16ed3889035040cb85843f6ba4c2d2327a9b (diff)
downloadFreeBSD-src-27d6f70455f2fff6d47238bb32c66e6b551ead7b.zip
FreeBSD-src-27d6f70455f2fff6d47238bb32c66e6b551ead7b.tar.gz
Update comments to reflect r246689.
-rw-r--r--sys/kern/kern_sysctl.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 521714c..33296d3 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1036,7 +1036,10 @@ sysctl_msec_to_ticks(SYSCTL_HANDLER_ARGS)
/*
- * Handle a long, signed or unsigned. arg1 points to it.
+ * Handle a long, signed or unsigned.
+ * Two cases:
+ * a variable: point arg1 at it.
+ * a constant: pass it in arg2.
*/
int
@@ -1080,7 +1083,10 @@ sysctl_handle_long(SYSCTL_HANDLER_ARGS)
}
/*
- * Handle a 64 bit int, signed or unsigned. arg1 points to it.
+ * Handle a 64 bit int, signed or unsigned.
+ * Two cases:
+ * a variable: point arg1 at it.
+ * a constant: pass it in arg2.
*/
int
sysctl_handle_64(SYSCTL_HANDLER_ARGS)
OpenPOWER on IntegriCloud