Kernel/binary - Emit warning when interpreter can't be loaded
authorJohn Hodge <[email protected]>
Sat, 31 May 2014 05:45:03 +0000 (13:45 +0800)
committerJohn Hodge <[email protected]>
Sat, 31 May 2014 05:45:03 +0000 (13:45 +0800)
KernelLand/Kernel/binary.c

index 3dab6a9..507b45f 100644 (file)
@@ -334,6 +334,8 @@ tVAddr Binary_Load(const char *Path, tVAddr *EntryPoint)
        if(pBinary->Interpreter) {
                tVAddr  start;
                if( Binary_Load(pBinary->Interpreter, &start) == 0 ) {
+                       Log_Error("Binary", "Can't load interpeter '%s' for '%s'",
+                               pBinary->Interpreter, Path);
                        LEAVE('x', 0);
                        return 0;
                }

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