B_POSIX_ENOMEM is obviously an error...

* was wrongly reported as "No error"
This commit is contained in:
François Revol 2012-09-27 16:42:40 +02:00
parent 83953c9405
commit f916b68079

View File

@ -42,12 +42,12 @@ error_description(int error)
// General Errors
case B_NO_ERROR:
case B_POSIX_ENOMEM:
return "No error";
case B_ERROR:
return "General system error";
case B_NO_MEMORY:
case B_POSIX_ENOMEM:
// ENOMEM
return "Out of memory";
case B_IO_ERROR: