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/sysctl/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sysctl/sysctl.c') diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index 449e0cadd5..7ebe1e2df5 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -132,7 +132,7 @@ static int parse_file(Hashmap *sysctl_options, const char *path, bool ignore_eno return r; } - log_debug("parse: %s\n", path); + log_debug("parse: %s", path); while (!feof(f)) { char l[LINE_MAX], *p, *value, *new_value, *property, *existing; void *v; -- cgit v1.2.3-54-g00ecf