diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-17 20:16:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-17 21:18:09 +0200 |
commit | 15ec102145f34f0d422f4fde265ab0853ea5edb2 (patch) | |
tree | 47834726ff8362466c27d5f9d711000fca7885d1 /src/core/job.c | |
parent | job: use structured initialization (diff) | |
download | systemd-15ec102145f34f0d422f4fde265ab0853ea5edb2.tar.xz systemd-15ec102145f34f0d422f4fde265ab0853ea5edb2.zip |
job: add lots of colons to log messages
Diffstat (limited to 'src/core/job.c')
-rw-r--r-- | src/core/job.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/job.c b/src/core/job.c index d560453bf8..8c99b82639 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -1123,16 +1123,16 @@ int job_deserialize(Job *j, FILE *f) { if (streq(l, "job-id")) { if (safe_atou32(v, &j->id) < 0) - log_debug("Failed to parse job id value %s", v); + log_debug("Failed to parse job id value: %s", v); } else if (streq(l, "job-type")) { JobType t; t = job_type_from_string(v); if (t < 0) - log_debug("Failed to parse job type %s", v); + log_debug("Failed to parse job type: %s", v); else if (t >= _JOB_TYPE_MAX_IN_TRANSACTION) - log_debug("Cannot deserialize job of type %s", v); + log_debug("Cannot deserialize job of type: %s", v); else j->type = t; @@ -1141,7 +1141,7 @@ int job_deserialize(Job *j, FILE *f) { s = job_state_from_string(v); if (s < 0) - log_debug("Failed to parse job state %s", v); + log_debug("Failed to parse job state: %s", v); else job_set_state(j, s); @@ -1150,7 +1150,7 @@ int job_deserialize(Job *j, FILE *f) { b = parse_boolean(v); if (b < 0) - log_debug("Failed to parse job irreversible flag %s", v); + log_debug("Failed to parse job irreversible flag: %s", v); else j->irreversible = j->irreversible || b; @@ -1159,7 +1159,7 @@ int job_deserialize(Job *j, FILE *f) { b = parse_boolean(v); if (b < 0) - log_debug("Failed to parse job sent_dbus_new_signal flag %s", v); + log_debug("Failed to parse job sent_dbus_new_signal flag: %s", v); else j->sent_dbus_new_signal = j->sent_dbus_new_signal || b; @@ -1168,7 +1168,7 @@ int job_deserialize(Job *j, FILE *f) { b = parse_boolean(v); if (b < 0) - log_debug("Failed to parse job ignore_order flag %s", v); + log_debug("Failed to parse job ignore_order flag: %s", v); else j->ignore_order = j->ignore_order || b; |