SourceForge has been redesigned. Learn more.
Close

Diff of /libop/op_cpu_type.c [5b12ab] .. [f5e31f]  Maximize  Restore

Switch to side-by-side view

--- a/libop/op_cpu_type.c
+++ b/libop/op_cpu_type.c
@@ -145,7 +145,8 @@
 
 	if (!fgets(str, 99, fp)) {
 		fprintf(stderr, "Could not read cpu type.\n");
-		return CPU_NO_GOOD;
+		fclose(fp);
+		return cpu_type;
 	}
 
 	cpu_type = op_get_cpu_number(str);