From: Benjamin Robin Date: Tue, 16 Feb 2021 22:23:41 +0000 (+0100) Subject: portable: use -EINVAL for _PORTABLE_CHANGE_TYPE_INVALID X-Git-Tag: v248-rc1~88^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3de56f47128808619e1640afa545e563c7443c3a;p=thirdparty%2Fsystemd.git portable: use -EINVAL for _PORTABLE_CHANGE_TYPE_INVALID Follow-up of #11484 --- diff --git a/src/portable/portable.h b/src/portable/portable.h index 724634feb85..291d9377ef0 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 {