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
Nativelib - Fix clang compilation issues
[tpg/acess2.git]
/
KernelLand
/
Modules
/
IPStack
/
interface.c
diff --git
a/KernelLand/Modules/IPStack/interface.c
b/KernelLand/Modules/IPStack/interface.c
index
69d54c3
..
ea42954
100644
(file)
--- a/
KernelLand/Modules/IPStack/interface.c
+++ b/
KernelLand/Modules/IPStack/interface.c
@@
-279,6
+279,8
@@
tInterface *IPStack_AddInterface(const char *Device, int Type, const char *Name)
sprintf(iface->Name, "%i", (int)iface->Node.ImplInt);
}
sprintf(iface->Name, "%i", (int)iface->Node.ImplInt);
}
+ LOG("Creating interface '%s'", iface->Name);
+
// Append to list
SHORTLOCK( &glIP_Interfaces );
if( gIP_Interfaces ) {
// Append to list
SHORTLOCK( &glIP_Interfaces );
if( gIP_Interfaces ) {
@@
-339,9
+341,13
@@
tVFS_Node *IPStack_Iface_FindDir(tVFS_Node *Node, const char *Name, Uint Flags)
{
if( strcmp(file->Name, Name) == 0 ) break;
}
{
if( strcmp(file->Name, Name) == 0 ) break;
}
- if(!file) return NULL;
+ if(!file) {
+ LOG("File '%s' unknown", Name);
+ return NULL;
+ }
// Pass the buck!
// Pass the buck!
+ LOG("File '%s' calling %p", file->Init);
return file->Init(Node->ImplPtr);
}
return file->Init(Node->ImplPtr);
}
UCC
git Repository :: git.ucc.asn.au