diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-19 12:57:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-19 12:57:23 +0000 |
commit | d4f9ece3a6b426973e97e04d02fc37347b6f6cdc (patch) | |
tree | 5dd224bf13095a9eb3d91939060cc405204ca502 /package/busybox/patches/410-syslogd_circular_fix.patch | |
parent | d85c2ffd2312ea68b0e954186eff6d273bd1300c (diff) | |
download | upstream-d4f9ece3a6b426973e97e04d02fc37347b6f6cdc.tar.gz upstream-d4f9ece3a6b426973e97e04d02fc37347b6f6cdc.tar.bz2 upstream-d4f9ece3a6b426973e97e04d02fc37347b6f6cdc.zip |
fix syslogd output to /dev/console (patch from #1170)
SVN-Revision: 6131
Diffstat (limited to 'package/busybox/patches/410-syslogd_circular_fix.patch')
-rw-r--r-- | package/busybox/patches/410-syslogd_circular_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/busybox/patches/410-syslogd_circular_fix.patch b/package/busybox/patches/410-syslogd_circular_fix.patch new file mode 100644 index 0000000000..d13d36addc --- /dev/null +++ b/package/busybox/patches/410-syslogd_circular_fix.patch @@ -0,0 +1,14 @@ +diff -Nru busybox-1.3.1.orig/sysklogd/syslogd.c busybox-1.3.1/sysklogd/syslogd.c +--- busybox-1.3.1.orig/sysklogd/syslogd.c 2007-01-02 21:28:26.000000000 +0700 ++++ busybox-1.3.1/sysklogd/syslogd.c 2007-01-02 21:29:10.000000000 +0700 +@@ -304,8 +304,8 @@ + vsnprintf(b, sizeof(b) - 1, fmt, arguments); + va_end(arguments); + circ_message(b); +- +- } else ++ return; ++ } + #endif + fd = device_open(logFilePath, O_WRONLY | O_CREAT + | O_NOCTTY | O_APPEND | O_NONBLOCK); |