diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-21 21:32:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-21 21:32:23 +0100 |
commit | 1302759d1581a4df0259cd4499a0908dad5f8b77 (patch) | |
tree | bbd13fe1779376c8ffc367403ea5dca175cdcff4 | |
parent | ceb19081fec38003064bcbc3aa3fcbdcf478a797 (diff) | |
download | systemd-1302759d1581a4df0259cd4499a0908dad5f8b77.tar.gz systemd-1302759d1581a4df0259cd4499a0908dad5f8b77.tar.bz2 systemd-1302759d1581a4df0259cd4499a0908dad5f8b77.zip |
core: fix serilization of ListJobs() response
-rw-r--r-- | src/core/dbus-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index b284c5e197..6002d02c5b 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -774,8 +774,9 @@ static int method_list_jobs(sd_bus *bus, sd_bus_message *message, void *userdata r = sd_bus_message_append( reply, "(usssoo)", j->id, - job_state_to_string(j->state), + j->unit->id, job_type_to_string(j->type), + job_state_to_string(j->state), job_path, unit_path); if (r < 0) |