aboutsummaryrefslogtreecommitdiff
path: root/lib/libmemstat/memstat.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-03-15 10:44:18 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-03-15 10:44:18 +0000
commite6a464153235f358c488e3cda721a0ae9e9f94a2 (patch)
tree13a6f83eadf73b8d07a4cb1f844ea5da054a0c2e /lib/libmemstat/memstat.h
parent5e85b65e97df011f104e47f16be9444cb5f87f45 (diff)
downloadsrc-e6a464153235f358c488e3cda721a0ae9e9f94a2.tar.gz
src-e6a464153235f358c488e3cda721a0ae9e9f94a2.zip
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
Notes
Notes: svn path=/head/; revision=167597
Diffstat (limited to 'lib/libmemstat/memstat.h')
-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 703915ce62eb..aaa85702e0c5 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. */