chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: fix a couple of format string mistakes
[elogind.git]
/
src
/
core
/
unit.c
diff --git
a/src/core/unit.c
b/src/core/unit.c
index 160a346d8652a5639d3d3c7dfe6f80c33ba4fc7a..e3b620603cf2c489ba10e5063a7e923a8bd5d2ee 100644
(file)
--- a/
src/core/unit.c
+++ b/
src/core/unit.c
@@
-119,7
+119,7
@@
int unit_add_name(Unit *u, const char *text) {
if (!s)
return -ENOMEM;
- if (!unit_name_is_valid(s,
false
)) {
+ if (!unit_name_is_valid(s,
TEMPLATE_INVALID
)) {
r = -EINVAL;
goto fail;
}