Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix a comment - in localcount_fini(), we don't care...
details: https://anonhg.NetBSD.org/src/rev/a4f836eecd52
branches: trunk
changeset: 824014:a4f836eecd52
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri May 19 02:20:24 2017 +0000
description:
Fix a comment - in localcount_fini(), we don't care whether it was the
caller or some other code that drained the localcount; all we care is
that it has been drained.
diffstat:
sys/kern/subr_localcount.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 45f2417cdfe1 -r a4f836eecd52 sys/kern/subr_localcount.c
--- a/sys/kern/subr_localcount.c Fri May 19 01:54:50 2017 +0000
+++ b/sys/kern/subr_localcount.c Fri May 19 02:20:24 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_localcount.c,v 1.2 2017/05/19 00:01:33 pgoyette Exp $ */
+/* $NetBSD: subr_localcount.c,v 1.3 2017/05/19 02:20:24 pgoyette Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.2 2017/05/19 00:01:33 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.3 2017/05/19 02:20:24 pgoyette Exp $");
#include <sys/param.h>
#include <sys/localcount.h>
@@ -138,7 +138,7 @@
* localcount_fini(lc)
*
* Finalize a localcount object, releasing any memory allocated
- * for it. Caller must have already called localcount_drain.
+ * for it. The localcount object must already have been drained.
*/
void
localcount_fini(struct localcount *lc)
Home |
Main Index |
Thread Index |
Old Index