From 3de56f47128808619e1640afa545e563c7443c3a Mon Sep 17 00:00:00 2001 From: Benjamin Robin Date: Tue, 16 Feb 2021 23:23:41 +0100 Subject: [PATCH] portable: use -EINVAL for _PORTABLE_CHANGE_TYPE_INVALID Follow-up of #11484 --- src/portable/portable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.3