summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-22 17:30:02 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-22 17:50:50 +0100
commit09d46cfd41d14f65cb5fe8798a6f7d964700fcd0 (patch)
treead147e91ec339509af8151e573dfdcc329209146
parent1c49d1ba850f9306d5cebc0441ef66ffa33d348b (diff)
importd: minor log improvements
-rw-r--r--src/import/importd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/importd.c b/src/import/importd.c
index 92de43038c..a3545cd576 100644
--- a/src/import/importd.c
+++ b/src/import/importd.c
@@ -166,7 +166,7 @@ static void transfer_send_log_line(Transfer *t, const char *line) {
syslog_parse_priority(&line, &priority, true);
- log_full(priority, "(transfer%" PRIu32 "): %s", t->id, line);
+ log_full(priority, "(transfer%" PRIu32 ") %s", t->id, line);
r = sd_bus_emit_signal(
t->manager->bus,
@@ -782,7 +782,7 @@ static int method_cancel_transfer(sd_bus *bus, sd_bus_message *msg, void *userda
t = hashmap_get(m->transfers, UINT32_TO_PTR(id));
if (!t)
- return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_TRANSFER, "Not transfer by id %" PRIu32, id);
+ return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_TRANSFER, "No transfer by id %" PRIu32, id);
r = transfer_cancel(t);
if (r < 0)