From: Roy Marples Date: Thu, 26 Mar 2015 20:25:57 +0000 (+0000) Subject: Fix logging quietly. X-Git-Tag: v6.8.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62e26b402d4e07ec332ea2de163749f054a781e4;p=thirdparty%2Fdhcpcd.git Fix logging quietly. --- diff --git a/common.c b/common.c index 0b144dc8..80a49cde 100644 --- a/common.c +++ b/common.c @@ -228,9 +228,9 @@ logger(struct dhcpcd_ctx *ctx, int pri, const char *fmt, ...) break; } *fp++ = '\0'; + fmt = fmt_cpy; } - fmt = fmt_cpy; #endif if (ctx == NULL || !(ctx->options & DHCPCD_QUIET)) {