14 lines
434 B
Diff
14 lines
434 B
Diff
|
Index: epplets/E-MemWatch.c
|
||
|
===================================================================
|
||
|
--- epplets/E-MemWatch.c.orig
|
||
|
+++ epplets/E-MemWatch.c
|
||
|
@@ -251,7 +251,7 @@ main(int argc, char **argv)
|
||
|
|
||
|
if ((fp = fopen("/proc/version", "r")) == NULL) {
|
||
|
D(("Failed to open /proc/version -- %s\nWill assume not 2.6 kernel", strerror(errno)));
|
||
|
- return;
|
||
|
+ return 1;
|
||
|
}
|
||
|
|
||
|
fgets(buff, sizeof(buff), fp);
|