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
Kernel - Removed #include <adt.h> from acess.h, reduce global deps
[tpg/acess2.git]
/
Kernel
/
vfs
/
dir.c
diff --git
a/Kernel/vfs/dir.c
b/Kernel/vfs/dir.c
index
43cc0b5
..
64c5d37
100644
(file)
--- a/
Kernel/vfs/dir.c
+++ b/
Kernel/vfs/dir.c
@@
-123,7
+123,7
@@
int VFS_Symlink(const char *Name, const char *Link)
// Get absolue path name
_link = VFS_GetAbsPath( Link );
if(!_link) {
// Get absolue path name
_link = VFS_GetAbsPath( Link );
if(!_link) {
-
Warning(
"Path '%s' is badly formed", Link);
+
Log_Warning("VFS",
"Path '%s' is badly formed", Link);
return -1;
}
return -1;
}
@@
-134,7
+134,7
@@
int VFS_Symlink(const char *Name, const char *Link)
// Check if destination exists
if(!destNode) {
// Check if destination exists
if(!destNode) {
-
Warning(
"File '%s' does not exist, symlink not created", Link);
+
Log_Warning("VFS",
"File '%s' does not exist, symlink not created", Link);
return -1;
}
return -1;
}
@@
-143,7
+143,7
@@
int VFS_Symlink(const char *Name, const char *Link)
// Make node
if( VFS_MkNod(Name, VFS_FFLAG_SYMLINK) != 0 ) {
// Make node
if( VFS_MkNod(Name, VFS_FFLAG_SYMLINK) != 0 ) {
-
Warning(
"Unable to create link node '%s'", Name);
+
Log_Warning("VFS",
"Unable to create link node '%s'", Name);
return -2; // Make link node
}
return -2; // Make link node
}
UCC
git Repository :: git.ucc.asn.au