summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-05 20:21:08 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-05 20:27:52 +0200
commit9ce56418b1ff83303c607a7759e8830ec73dbc19 (patch)
treea880ba80821555efd54330ea8cd32885521e2656 /src
parent7d10550305d47cc422631508df8ab46f7407d860 (diff)
core: don't use uninitialized errno
Diffstat (limited to 'src')
-rw-r--r--src/core/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 745291c5c6..c0db0dcefd 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -1048,7 +1048,7 @@ int config_parse_bounding_set(const char *unit,
cap = capability_from_name(t);
if (cap < 0) {
- log_syntax(unit, LOG_ERR, filename, line, errno, "Failed to parse capability in bounding set, ignoring: %s", t);
+ log_syntax(unit, LOG_ERR, filename, line, EINVAL, "Failed to parse capability in bounding set, ignoring: %s", t);
continue;
}