diff options
author | Benjamin Robin <dev@benjarobin.fr> | 2021-02-16 23:22:37 +0100 |
---|---|---|
committer | Benjamin Robin <dev@benjarobin.fr> | 2021-02-16 23:39:58 +0100 |
commit | 7a563bb2bd33b1e787390399b5a2df51f02a785e (patch) | |
tree | 5fe80022cc01f6e612ae475c8fa5c788666b8fc5 /src/basic/unit-def.h | |
parent | shared: Fix _DNS_CACHE_MODE_INVALID value: use -EINVAL (diff) | |
download | systemd-7a563bb2bd33b1e787390399b5a2df51f02a785e.tar.xz systemd-7a563bb2bd33b1e787390399b5a2df51f02a785e.zip |
basic: use -EINVAL for _DUID_TYPE_INVALID
Follow-up of #11484 and of #18481
Diffstat (limited to 'src/basic/unit-def.h')
-rw-r--r-- | src/basic/unit-def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/unit-def.h b/src/basic/unit-def.h index 7742c5c078..508b4c504d 100644 --- a/src/basic/unit-def.h +++ b/src/basic/unit-def.h @@ -62,7 +62,7 @@ typedef enum UnitMarker { UNIT_MARKER_NEEDS_RELOAD, UNIT_MARKER_NEEDS_RESTART, _UNIT_MARKER_MAX, - _UNIT_MARKER_INVALID = -1 + _UNIT_MARKER_INVALID = -EINVAL, } UnitMarker; typedef enum AutomountState { |