summaryrefslogtreecommitdiff
path: root/src/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-08 03:09:25 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-08 03:09:25 +0200
commitb9c0d4415b8cd6135321185b6febfdd1366a477c (patch)
treec322309e262ea7c49c0ebe06ad0a52d8268c2dad /src/unit.h
parentf34277d9117cd9d858f7332eef0023e05277ce74 (diff)
systemctl: fix 'systemctl enable getty@.service'
Diffstat (limited to 'src/unit.h')
-rw-r--r--src/unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit.h b/src/unit.h
index a020bd8a0d..aa818d4f21 100644
--- a/src/unit.h
+++ b/src/unit.h
@@ -505,7 +505,7 @@ bool unit_pending_active(Unit *u);
int unit_add_default_target_dependency(Unit *u, Unit *target);
UnitType unit_name_to_type(const char *n);
-bool unit_name_is_valid(const char *n);
+bool unit_name_is_valid(const char *n, bool template_ok);
const char *unit_load_state_to_string(UnitLoadState i);
UnitLoadState unit_load_state_from_string(const char *s);