From: Douglas Bagnall Date: Thu, 8 Apr 2021 09:20:17 +0000 (+1200) Subject: util/charset: warn loudly on unexpected E2BIG X-Git-Tag: tevent-0.11.0~330 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4711ad9e81326c40309614df41ac36994fa9b961;p=thirdparty%2Fsamba.git util/charset: warn loudly on unexpected E2BIG Signed-off-by: Douglas Bagnall Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Jun 18 04:27:17 UTC 2021 on sn-devel-184 --- diff --git a/lib/util/charset/convert_string.c b/lib/util/charset/convert_string.c index 96a3af68d27..88b128be547 100644 --- a/lib/util/charset/convert_string.c +++ b/lib/util/charset/convert_string.c @@ -435,8 +435,8 @@ bool convert_string_talloc_handle(TALLOC_CTX *ctx, struct smb_iconv_handle *ic, break; case E2BIG: reason = "output buffer is too small"; - DBG_NOTICE("Conversion error: %s\n", - reason); + DBG_ERR("Conversion error: %s\n", + reason); break; case EILSEQ: reason="Illegal multibyte sequence";