diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-26 04:10:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-26 04:10:17 +0200 |
commit | 43a3754933023b5bd63d72e41c13b61fdadb5a18 (patch) | |
tree | 3e04008ba3f29137eeb6097bcc9b6f1ee6dc0795 | |
parent | 42a097a2537878d90b00df88d36a8eeb6db5cef6 (diff) |
service: reword warnings a little
-rw-r--r-- | src/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index 1525aaea9e..d52856af89 100644 --- a/src/service.c +++ b/src/service.c @@ -572,7 +572,7 @@ static int service_load_sysv_path(Service *s, const char *path) { r = unit_add_dependency_by_name_inverse(u, UNIT_AFTER, m, NULL, true); if (r < 0) - log_error("[%s:%u] Failed to add LSB Provides name %s: %s. Ignoring.", path, line, m, strerror(-r)); + log_error("[%s:%u] Failed to add LSB Provides name %s, ignoring: %s", path, line, m, strerror(-r)); free(m); } @@ -606,7 +606,7 @@ static int service_load_sysv_path(Service *s, const char *path) { r = unit_add_dependency_by_name(u, startswith_no_case(t, "X-Start-Before:") ? UNIT_BEFORE : UNIT_AFTER, m, NULL, true); if (r < 0) - log_error("Failed to add dependency on %s, ignoring: %s", m, strerror(-r)); + log_error("[%s:%u] Failed to add dependency on %s, ignoring: %s", path, line, m, strerror(-r)); free(m); } |