From e6a464153235f358c488e3cda721a0ae9e9f94a2 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Thu, 15 Mar 2007 10:44:18 +0000 Subject: [PATCH] Fix a comment in memstat.h: errors are associated with memory type lists, not individual types. Submitted by: Bryan Venteicher MFC after: 3 days --- lib/libmemstat/memstat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */