MDEV-37600 - fix error message formatting after backporting

MariaDB 11.4 does not understand %iE modifier yet.
Use %M instead
This commit is contained in:
Vladislav Vaintroub 2025-09-21 13:07:30 +02:00
parent 09a6249958
commit d098e61542

View File

@ -37,7 +37,7 @@ int ssl_decrypt(EVP_PKEY *pkey, unsigned char *src, size_t srclen,
#define FILE_ERROR(op,file) \
do { \
my_printf_error(1, SELF ": failed to " op " %s: %iE", \
my_printf_error(1, SELF ": failed to " op " %s: %M", \
ME_ERROR_LOG_ONLY, file, errno); \
goto err; \
} while(0)