B_POSIX_ENOMEM is obviously an error...
* was wrongly reported as "No error"
This commit is contained in:
@@ -42,12 +42,12 @@ error_description(int error)
|
|||||||
// General Errors
|
// General Errors
|
||||||
|
|
||||||
case B_NO_ERROR:
|
case B_NO_ERROR:
|
||||||
case B_POSIX_ENOMEM:
|
|
||||||
return "No error";
|
return "No error";
|
||||||
case B_ERROR:
|
case B_ERROR:
|
||||||
return "General system error";
|
return "General system error";
|
||||||
|
|
||||||
case B_NO_MEMORY:
|
case B_NO_MEMORY:
|
||||||
|
case B_POSIX_ENOMEM:
|
||||||
// ENOMEM
|
// ENOMEM
|
||||||
return "Out of memory";
|
return "Out of memory";
|
||||||
case B_IO_ERROR:
|
case B_IO_ERROR:
|
||||||
|
|||||||
Reference in New Issue
Block a user