From: Witold Kręcicki Date: Wed, 6 May 2020 09:25:30 +0000 (+0200) Subject: Fix 'error: ‘%s’ directive argument is null [-Werror=format-overflow=]' in assertions.c X-Git-Tag: v9.17.2~75^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4260dc0c53436b005662b168b2addde91b65033;p=thirdparty%2Fbind9.git Fix 'error: ‘%s’ directive argument is null [-Werror=format-overflow=]' in assertions.c --- diff --git a/lib/isc/assertions.c b/lib/isc/assertions.c index 0215fd3a673..1ca4b640314 100644 --- a/lib/isc/assertions.c +++ b/lib/isc/assertions.c @@ -82,7 +82,7 @@ isc_assertion_typetotext(isc_assertiontype_t type) { result = "INVARIANT"; break; default: - result = NULL; + result = "UNKNOWN"; } return (result); }