summaryrefslogtreecommitdiffstats
path: root/lib/libmemstat
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-03-15 10:44:18 +0000
committerrwatson <rwatson@FreeBSD.org>2007-03-15 10:44:18 +0000
commit7f1d3da162e9e7e9561d1b1ab3e88b00622c7b5e (patch)
tree13a6f83eadf73b8d07a4cb1f844ea5da054a0c2e /lib/libmemstat
parent32001bac970022e78123f071dcf4a47851e8664c (diff)
downloadFreeBSD-src-7f1d3da162e9e7e9561d1b1ab3e88b00622c7b5e.zip
FreeBSD-src-7f1d3da162e9e7e9561d1b1ab3e88b00622c7b5e.tar.gz
Fix a comment in memstat.h: errors are associated with memory type lists,
not individual types. Submitted by: Bryan Venteicher <bryanv at daemoninthecloset dot org> MFC after: 3 days
Diffstat (limited to 'lib/libmemstat')
-rw-r--r--lib/libmemstat/memstat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmemstat/memstat.h b/lib/libmemstat/memstat.h
index 703915c..aaa85702 100644
--- a/lib/libmemstat/memstat.h
+++ b/lib/libmemstat/memstat.h
@@ -64,7 +64,7 @@
* Library error conditions, mostly from the underlying data sources. On
* failure, functions typically return (-1) or (NULL); on success, (0) or a
* valid data pointer. The error from the last operation is stored in
- * struct memory_type, and accessed via memstat_get_error(mtp).
+ * struct memory_type_list, and accessed via memstat_get_error(list).
*/
#define MEMSTAT_ERROR_UNDEFINED 0 /* Initialization value. */
#define MEMSTAT_ERROR_NOMEMORY 1 /* Out of memory. */
OpenPOWER on IntegriCloud