aports/main/sysklogd/ksym-fclose-fix.diff
Timo Teras c47e236bc4 main/sysklogd: fix the package to be usable (fixes #98)
fix a klogd crash if module symbols cannot be loaded. and add
a default configuration file (based on ubuntu one).
2009-08-04 10:05:16 +03:00

13 lines
391 B
Diff

Index: sysklogd-1.5/ksym_mod.c
===================================================================
--- sysklogd-1.5.orig/ksym_mod.c 2009-08-04 09:47:53.000000000 +0300
+++ sysklogd-1.5/ksym_mod.c 2009-08-04 09:48:05.000000000 +0300
@@ -189,7 +189,6 @@
else
Syslog(LOG_ERR, "Error loading kernel symbols " \
"- %s\n", strerror(errno));
- fclose(ksyms);
return(0);
}