From: Volker Lendecke Date: Tue, 1 Sep 2020 11:24:55 +0000 (+0200) Subject: lib: Map ERANGE to NT_STATUS_INTEGER_OVERFLOW X-Git-Tag: talloc-2.4.0~1398 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06f35edaf129ce3195960905d38af73ec12fc716;p=thirdparty%2Fsamba.git lib: Map ERANGE to NT_STATUS_INTEGER_OVERFLOW Bug: https://bugzilla.samba.org/show_bug.cgi?id=15151 Signed-off-by: Volker Lendecke Reviewed-by: Christof Schmitt Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Aug 19 12:43:06 UTC 2022 on sn-devel-184 --- diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c index 73b2f532a06..029efae0f51 100644 --- a/source3/lib/errmap_unix.c +++ b/source3/lib/errmap_unix.c @@ -119,6 +119,9 @@ static const struct { { EOVERFLOW, NT_STATUS_ALLOTTED_SPACE_EXCEEDED }, #endif { EINPROGRESS, NT_STATUS_MORE_PROCESSING_REQUIRED }, +#ifdef ERANGE + { ERANGE, NT_STATUS_INTEGER_OVERFLOW }, +#endif }; /*********************************************************************