platform/beos.cpp
changeset 362 ac8c846a0a66
parent 327 76e207c6b4a7
child 393 468f75bf4d7d
--- a/platform/beos.cpp	Mon Jul 22 12:08:56 2002 +0000
+++ b/platform/beos.cpp	Tue Jul 23 07:46:36 2002 +0000
@@ -228,7 +228,7 @@
 
     BPath normalized(str, leaf, true);  /* force normalization of path. */
     const char *resolved_path = normalized.Path();
-    BAIL_IF_MACRO(resolved_path == NULL, ERR_FILE_NOT_FOUND, NULL);
+    BAIL_IF_MACRO(resolved_path == NULL, ERR_NO_SUCH_FILE, NULL);
     char *retval = (char *) malloc(strlen(resolved_path) + 1);
     BAIL_IF_MACRO(retval == NULL, ERR_OUT_OF_MEMORY, NULL);
     strcpy(retval, resolved_path);