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
This commit is contained in:
Robert Watson 2007-03-15 10:44:18 +00:00
parent 5e85b65e97
commit e6a4641532

View File

@ -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. */