git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding forgotten files
[tpg/acess2.git]
/
Kernel
/
vfs
/
open.c
diff --git
a/Kernel/vfs/open.c
b/Kernel/vfs/open.c
index
01d73d6
..
0820102
100644
(file)
--- a/
Kernel/vfs/open.c
+++ b/
Kernel/vfs/open.c
@@
-41,7
+41,7
@@
char *VFS_GetAbsPath(const char *Path)
if(Path[0] == '$') {
ret = malloc(strlen(Path)+1);
if(!ret) {
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);
return NULL;
}
strcpy(ret, Path);
@@
-61,7
+61,7
@@
char *VFS_GetAbsPath(const char *Path)
if(Path[0] == '/') {
ret = malloc(pathLen + 1);
if(!ret) {
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);
return NULL;
}
strcpy(ret, Path);
UCC
git Repository :: git.ucc.asn.au