chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
systemctl: show sub state along active state
[elogind.git]
/
unit.c
diff --git
a/unit.c
b/unit.c
index 30ffd9631182d60fb7f2fd331426f8f0329147c6..3b30c8265f579d6330cd854faf1c01d6b6abfd1d 100644
(file)
--- a/
unit.c
+++ b/
unit.c
@@
-334,6
+334,12
@@
UnitActiveState unit_active_state(Unit *u) {
return UNIT_VTABLE(u)->active_state(u);
}
+const char* unit_sub_state_to_string(Unit *u) {
+ assert(u);
+
+ return UNIT_VTABLE(u)->sub_state_to_string(u);
+}
+
static void complete_move(Set **s, Set **other) {
assert(s);
assert(other);