1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-07 17:17:44 +03:00

portable: use -EINVAL for _PORTABLE_CHANGE_TYPE_INVALID

Follow-up of #11484
This commit is contained in:
Benjamin Robin 2021-02-16 23:23:41 +01:00
parent 0979e4adb5
commit 3de56f4712

View File

@ -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 {