summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-chat.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-09 03:26:34 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-09 03:29:20 +0200
commit3a7d4f1ba42bddd0cbaa5e0d9482dc5bd30d803f (patch)
tree3d9550537591e2a4cb2bfe71ca86d448630f89fd /src/libsystemd-bus/test-bus-chat.c
parent29ddb38fea134c6132e4f2dd608e9da3871eaebe (diff)
bus: fix synthetic error messages
Diffstat (limited to 'src/libsystemd-bus/test-bus-chat.c')
-rw-r--r--src/libsystemd-bus/test-bus-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/test-bus-chat.c b/src/libsystemd-bus/test-bus-chat.c
index f308eddbb0..aefe8f1b3b 100644
--- a/src/libsystemd-bus/test-bus-chat.c
+++ b/src/libsystemd-bus/test-bus-chat.c
@@ -359,7 +359,7 @@ finish:
static int quit_callback(sd_bus *b, sd_bus_message *m, void *userdata) {
bool *x = userdata;
- log_error("Quit callback: %s", strerror(bus_message_to_errno(m)));
+ log_error("Quit callback: %s", strerror(-bus_message_to_errno(m)));
*x = 1;
return 1;