summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-21 19:48:49 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-21 19:48:49 +0200
commit050f727728f0631ce2b9c5f9635054480ccea3f6 (patch)
tree967efef2a54eb7b5e485f9401f38e7542f4edcfc /src/core/load-fragment.c
parent481a0aa2c9803a62cda413b8a1d05571957bb4b5 (diff)
util: introduce PERSONALITY_INVALID as macro for 0xffffffffLU
Diffstat (limited to 'src/core/load-fragment.c')
-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 e1cd72fe98..9415e92c90 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -3046,7 +3046,7 @@ int config_parse_personality(
assert(personality);
p = personality_from_string(rvalue);
- if (p == 0xffffffffUL) {
+ if (p == PERSONALITY_INVALID) {
log_syntax(unit, LOG_ERR, filename, line, EINVAL,
"Failed to parse personality, ignoring: %s", rvalue);
return 0;