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:
parent
5e85b65e97
commit
e6a4641532
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167597
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user