summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Robin <dev@benjarobin.fr>2021-02-16 23:23:41 +0100
committerBenjamin Robin <dev@benjarobin.fr>2021-02-16 23:40:30 +0100
commit3de56f47128808619e1640afa545e563c7443c3a (patch)
treecd59189a6b5ced0ff13a5f6b7a3f629f26376f11 /src
parent0979e4adb5513b90f918bb7d68e6d41044f28981 (diff)
downloadsystemd-3de56f47128808619e1640afa545e563c7443c3a.tar.gz
portable: use -EINVAL for _PORTABLE_CHANGE_TYPE_INVALID
Follow-up of #11484
Diffstat (limited to 'src')
-rw-r--r--src/portable/portable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portable.h b/src/portable/portable.h
index 724634feb8..291d9377ef 100644
--- a/src/portable/portable.h
+++ b/src/portable/portable.h
@@ -31,7 +31,7 @@ typedef enum PortableChangeType {
PORTABLE_WRITE,
PORTABLE_MKDIR,
_PORTABLE_CHANGE_TYPE_MAX,
- _PORTABLE_CHANGE_TYPE_INVALID = INT_MIN,
+ _PORTABLE_CHANGE_TYPE_INVALID = -EINVAL,
} PortableChangeType;
typedef enum PortableState {