]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix 'error: ‘%s’ directive argument is null [-Werror=format-overflow=]' in assertions.c
authorWitold Kręcicki <wpk@isc.org>
Wed, 6 May 2020 09:25:30 +0000 (11:25 +0200)
committerMichal Nowak <mnowak@isc.org>
Wed, 7 Oct 2020 08:26:47 +0000 (10:26 +0200)
(cherry picked from commit f4260dc0c53436b005662b168b2addde91b65033)

lib/isc/assertions.c

index 4793f0faa57969dbc5938b1bccfc94b5b93b2077..ece5a58795edcce7d8c8d53870f2f904f0fe49f5 100644 (file)
@@ -86,7 +86,7 @@ isc_assertion_typetotext(isc_assertiontype_t type) {
                result = "INVARIANT";
                break;
        default:
-               result = NULL;
+               result = "UNKNOWN";
        }
        return (result);
 }