There was the wrong file handle in a call to FindClose().
[reactos.git] / rosapps / cmd / type.c
index c1f18b4..2424bf1 100644 (file)
@@ -102,7 +102,7 @@ INT cmd_type (LPTSTR cmd, LPTSTR param)
                }
                while(FindNextFile(hFind,&FindData));
 
-               FindClose(hFile);
+               FindClose(hFind);
        }       
        
 /*