Added mboot2 header
[tpg/acess2.git] / Kernel / binary.c
index 229031f..0cd0bf3 100644 (file)
@@ -190,7 +190,7 @@ Uint Binary_Load(char *file, Uint *entryPoint)
        sTruePath = VFS_GetTruePath(file);\r
        \r
        if(sTruePath == NULL) {\r
-               Warning("[BIN ] '%s' does not exist.", file);\r
+               Warning("[BIN  ] '%s' does not exist.", file);\r
                LEAVE('x', 0);\r
                return 0;\r
        }\r
@@ -569,7 +569,7 @@ char *Binary_RegInterp(char *Path)
        // Scan Array\r
        for( i = 0; i < giRegInterps; i++ )\r
        {\r
-               if(strcmp(gsaRegInterps[i], path) == 0)\r
+               if(strcmp(gsaRegInterps[i], Path) == 0)\r
                        return gsaRegInterps[i];\r
        }\r
        \r
@@ -599,16 +599,16 @@ void *Binary_LoadKernel(char *File)
        Uint    addr;\r
         int    i;\r
 \r
-       ENTER("sfile", file);\r
+       ENTER("sfile", File);\r
        \r
        // Sanity Check Argument\r
-       if(file == NULL) {\r
+       if(File == NULL) {\r
                LEAVE('n');\r
                return 0;\r
        }\r
 \r
        // Get True File Path\r
-       sTruePath = VFS_GetTruePath(file);\r
+       sTruePath = VFS_GetTruePath(File);\r
        if(sTruePath == NULL) {\r
                LEAVE('n');\r
                return 0;\r

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