From 7f1d3da162e9e7e9561d1b1ab3e88b00622c7b5e Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 15 Mar 2007 10:44:18 +0000 Subject: 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(-) (limited to 'lib/libmemstat') 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. */ -- cgit v1.1