diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-24 16:39:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-24 16:39:37 +0100 |
commit | 9f6445e34a57c270f013c9416c123e56261553dd (patch) | |
tree | 51bd61c2671a564b1fda28b998dcb3b0ddb4c8ed /src/modules-load | |
parent | ae98841e63a2624700db84ba44217f768b090d99 (diff) |
log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings
Diffstat (limited to 'src/modules-load')
-rw-r--r-- | src/modules-load/modules-load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c index 0fa7807bbb..5d141a8935 100644 --- a/src/modules-load/modules-load.c +++ b/src/modules-load/modules-load.c @@ -118,7 +118,7 @@ static int load_module(struct kmod_ctx *ctx, const char *m) { struct kmod_list *itr, *modlist = NULL; int r = 0; - log_debug("load: %s\n", m); + log_debug("load: %s", m); r = kmod_module_new_from_lookup(ctx, m, &modlist); if (r < 0) { @@ -186,7 +186,7 @@ static int apply_file(struct kmod_ctx *ctx, const char *path, bool ignore_enoent return r; } - log_debug("apply: %s\n", path); + log_debug("apply: %s", path); for (;;) { char line[LINE_MAX], *l; int k; |