]> 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 Kręcicki <wpk@isc.org>
Wed, 13 May 2020 09:02:23 +0000 (11:02 +0200)
lib/isc/assertions.c

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