From 9f6445e34a57c270f013c9416c123e56261553dd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 24 Dec 2013 16:39:37 +0100 Subject: log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings --- src/binfmt/binfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/binfmt') diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c index 3487602e46..a1877c42f7 100644 --- a/src/binfmt/binfmt.c +++ b/src/binfmt/binfmt.c @@ -95,7 +95,7 @@ static int apply_file(const char *path, bool ignore_enoent) { return r; } - log_debug("apply: %s\n", path); + log_debug("apply: %s", path); for (;;) { char l[LINE_MAX], *p; int k; -- cgit v1.2.3-54-g00ecf