Usermode - Working on new build/makefile system
[tpg/acess2.git] / Kernel / binary.c
index c676e55..20da5c4 100644 (file)
@@ -452,8 +452,6 @@ tBinary *Binary_DoLoad(tMount MountID, tInode Inode, const char *Path)
                break;
        }
 
-       LOG("pBinary = %p", pBinary);
-       
        // Close File
        VFS_Close(fp);
        
@@ -465,6 +463,8 @@ tBinary *Binary_DoLoad(tMount MountID, tInode Inode, const char *Path)
                return NULL;
        }
        
+       LOG("pBinary = %p", pBinary);
+       
        // Error Check
        if(pBinary == NULL) {
                LEAVE('n');

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