bus: log message parsing errors everywhere with a generalized bus_log_parse_error()

This commit is contained in:
Lennart Poettering
2013-11-07 21:26:31 +01:00
parent 46e65dcc3a
commit 5b30bef856
9 changed files with 47 additions and 67 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ static int show_one_name(sd_bus *bus, const char* attr) {
r = sd_bus_message_read(reply, "s", &s);
if (r < 0)
return r;
return bus_log_parse_error(r);
printf("%s\n", s);