chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: properly pass unit file state to clients via the bus
[elogind.git]
/
src
/
core
/
dbus-unit.c
diff --git
a/src/core/dbus-unit.c
b/src/core/dbus-unit.c
index 0850fb3d4682797d846dd6eed329d928bad6e5b3..b9680099384b951a64a5c34761ba2a42126f0a4c 100644
(file)
--- a/
src/core/dbus-unit.c
+++ b/
src/core/dbus-unit.c
@@
-207,7
+207,7
@@
static int property_get_unit_file_state(
assert(reply);
assert(u);
assert(reply);
assert(u);
- return sd_bus_message_append(reply, "s", unit_file_state_to_string(unit_get_unit_file_
preset
(u)));
+ return sd_bus_message_append(reply, "s", unit_file_state_to_string(unit_get_unit_file_
state
(u)));
}
static int property_get_can_start(
}
static int property_get_can_start(