diff --git a/doc/pcre2_serialize_decode.3 b/doc/pcre2_serialize_decode.3 index b67a112..611113f 100644 --- a/doc/pcre2_serialize_decode.3 +++ b/doc/pcre2_serialize_decode.3 @@ -36,7 +36,7 @@ the following negative error codes: PCRE2_ERROR_BADDATA \fInumber_of_codes\fP is zero or less PCRE2_ERROR_BADMAGIC mismatch of id bytes in \fIbytes\fP PCRE2_ERROR_BADMODE mismatch of variable unit size or PCRE version - PCRE2_ERROR_MEMORY memory allocation failed + PCRE2_ERROR_NOMEMORY memory allocation failed PCRE2_ERROR_NULL \fIcodes\fP or \fIbytes\fP is NULL .sp PCRE2_ERROR_BADMAGIC may mean that the data is corrupt, or that it was compiled diff --git a/doc/pcre2serialize.3 b/doc/pcre2serialize.3 index 987bc3a..a94f13b 100644 --- a/doc/pcre2serialize.3 +++ b/doc/pcre2serialize.3 @@ -81,7 +81,7 @@ of serialized patterns, or one of the following negative error codes: .sp PCRE2_ERROR_BADDATA the number of patterns is zero or less PCRE2_ERROR_BADMAGIC mismatch of id bytes in one of the patterns - PCRE2_ERROR_MEMORY memory allocation failed + PCRE2_ERROR_NOMEMORY memory allocation failed PCRE2_ERROR_MIXEDTABLES the patterns do not all use the same tables PCRE2_ERROR_NULL the 1st, 3rd, or 4th argument is NULL .sp