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:
parent
0979e4adb5
commit
3de56f4712
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user