summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 17a5a5f0d9..84aabd5723 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -520,7 +520,8 @@ int unit_add_node_link(Unit *u, const char *what, bool wants);
int unit_coldplug(Unit *u);
-void unit_status_printf(Unit *u, const char *status, const char *format, ...);
+#define unit_status_printf(u, st, fo, ...) \
+ manager_status_printf((u)->manager, st, fo, __VA_ARGS__)
bool unit_need_daemon_reload(Unit *u);