X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fbinary.c;h=b02ca6e98f35711b4fffcc3fa5dcccce85bf08f3;hb=701555cd9e3aa5131572043867e15387db3cddef;hp=229031f7a8a358aa8b259d6e7b43e8619dca7366;hpb=bf7d1cd5635d41bd7c58bf99c61cdc670291c543;p=tpg%2Facess2.git diff --git a/Kernel/binary.c b/Kernel/binary.c index 229031f7..b02ca6e9 100644 --- a/Kernel/binary.c +++ b/Kernel/binary.c @@ -569,7 +569,7 @@ char *Binary_RegInterp(char *Path) // Scan Array for( i = 0; i < giRegInterps; i++ ) { - if(strcmp(gsaRegInterps[i], path) == 0) + if(strcmp(gsaRegInterps[i], Path) == 0) return gsaRegInterps[i]; } @@ -599,16 +599,16 @@ void *Binary_LoadKernel(char *File) Uint addr; int i; - ENTER("sfile", file); + ENTER("sfile", File); // Sanity Check Argument - if(file == NULL) { + if(File == NULL) { LEAVE('n'); return 0; } // Get True File Path - sTruePath = VFS_GetTruePath(file); + sTruePath = VFS_GetTruePath(File); if(sTruePath == NULL) { LEAVE('n'); return 0;