Adding forgotten files
[tpg/acess2.git] / Kernel / vfs / open.c
index 01d73d6..0820102 100644 (file)
@@ -41,7 +41,7 @@ char *VFS_GetAbsPath(const char *Path)
        if(Path[0] == '$') {
                ret = malloc(strlen(Path)+1);
                if(!ret) {
-                       Warning("VFS_GetAbsPath - malloc() returned NULL");
+                       Log_Warning("VFS", "VFS_GetAbsPath: malloc() returned NULL");
                        return NULL;
                }
                strcpy(ret, Path);
@@ -61,7 +61,7 @@ char *VFS_GetAbsPath(const char *Path)
        if(Path[0] == '/') {
                ret = malloc(pathLen + 1);
                if(!ret) {
-                       Warning("VFS_GetAbsPath - malloc() returned NULL");
+                       Log_Warning("VFS", "VFS_GetAbsPath: malloc() returned NULL");
                        return NULL;
                }
                strcpy(ret, Path);

UCC git Repository :: git.ucc.asn.au