Module Name: src Committed By: kre Date: Sat Nov 25 02:37:04 UTC 2017
Modified Files: src/usr.sbin/rtadvd: rtadvd.c Log Message: When sending log messages to stderr, append the \n that syslog does not need. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/rtadvd/rtadvd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/rtadvd/rtadvd.c diff -u src/usr.sbin/rtadvd/rtadvd.c:1.58 src/usr.sbin/rtadvd/rtadvd.c:1.59 --- src/usr.sbin/rtadvd/rtadvd.c:1.58 Mon Nov 6 19:12:23 2017 +++ src/usr.sbin/rtadvd/rtadvd.c Sat Nov 25 02:37:04 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: rtadvd.c,v 1.58 2017/11/06 19:12:23 joerg Exp $ */ +/* $NetBSD: rtadvd.c,v 1.59 2017/11/25 02:37:04 kre Exp $ */ /* $KAME: rtadvd.c,v 1.92 2005/10/17 14:40:02 suz Exp $ */ /* @@ -1864,6 +1864,7 @@ expandm(char *buf, size_t len, const cha buf[cur] = '\0'; } strlcat(buf, fmt, len); + strlcat(buf, "\n", len); /* syslog does not need \n, printf does */ return buf; }