chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ceb1908
)
core: fix serilization of ListJobs() response
author
Lennart Poettering
<lennart@poettering.net>
Thu, 21 Nov 2013 20:32:23 +0000
(21:32 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 21 Nov 2013 20:32:23 +0000
(21:32 +0100)
src/core/dbus-manager.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-manager.c
b/src/core/dbus-manager.c
index b284c5e1972faa937736e84d7c09ae1d7ea42423..6002d02c5bb50e8a2b0c113086104344e8e46c58 100644
(file)
--- 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,
r = sd_bus_message_append(
reply, "(usssoo)",
j->id,
- j
ob_state_to_string(j->state)
,
+ j
->unit->id
,
job_type_to_string(j->type),
job_type_to_string(j->type),
+ job_state_to_string(j->state),
job_path,
unit_path);
if (r < 0)
job_path,
unit_path);
if (r < 0)