]> 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)
committerWitold Krecicki <wpk@isc.org>
Mon, 8 Jun 2020 15:57:31 +0000 (15:57 +0000)
(cherry picked from commit f4260dc0c53436b005662b168b2addde91b65033)

lib/isc/assertions.c

index 21ca21b638b06606d36f00633040cf85b5e072bc..b5309bb2bb28dd40431116b6d2df85a8f9d4d1a8 100644 (file)
@@ -82,7 +82,7 @@ isc_assertion_typetotext(isc_assertiontype_t type) {
                result = "INVARIANT";
                break;
        default:
-               result = NULL;
+               result = "UNKNOWN";
        }
        return (result);
 }