epplet-base/epplet-base-e-memwatch.patch

14 lines
434 B
Diff
Raw Normal View History

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);