From aafb792a591221e98230e88b7c37ffb739f35531 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Fri, 28 Dec 2012 02:42:04 +0100 Subject: [PATCH] backport upstream-svn4235.patch to fix compile error --- debian/patches/series | 2 ++ debian/patches/upstream-svn4235.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 debian/patches/upstream-svn4235.patch diff --git a/debian/patches/series b/debian/patches/series index a92f0fe..171dc9f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,3 @@ 01-edge.8.diff +upstream-svn4235.patch + diff --git a/debian/patches/upstream-svn4235.patch b/debian/patches/upstream-svn4235.patch new file mode 100644 index 0000000..078d74c --- /dev/null +++ b/debian/patches/upstream-svn4235.patch @@ -0,0 +1,13 @@ +diff --git a/n2n.c b/n2n.c +index cfcfb74..ac98ad6 100644 +--- a/n2n.c ++++ b/n2n.c +@@ -120,7 +120,7 @@ void traceEvent(int eventTraceLevel, char* file, int line, char * format, ...) { + } + + snprintf(out_buf, sizeof(out_buf), "%s%s", extra_msg, buf); +- syslog(LOG_INFO, out_buf); ++ syslog(LOG_INFO, "%s", out_buf); + } else { + snprintf(out_buf, sizeof(out_buf), "%s [%11s:%4d] %s%s", theDate, file, line, extra_msg, buf); + printf("%s\n", out_buf);