From: Ondřej Surý Date: Tue, 22 May 2018 10:31:27 +0000 (+0200) Subject: Remove extra FATAL prefix from FATAL_ERROR call X-Git-Tag: v9.13.0~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a38bd127d584dc3ec1c00aff337648d1d431f4;p=thirdparty%2Fbind9.git Remove extra FATAL prefix from FATAL_ERROR call --- diff --git a/lib/isc/random.c b/lib/isc/random.c index 085081aa694..cc6c3a280f3 100644 --- a/lib/isc/random.c +++ b/lib/isc/random.c @@ -166,7 +166,7 @@ isc_random_buf(void *buf, size_t buflen) /* Use crypto library as fallback when no other CSPRNG is available */ # if defined(OPENSSL) if (RAND_bytes(buf, buflen) < 1) { - FATAL_ERROR(__FILE__, __LINE__, "FATAL: RAND_bytes(): %s\n", ERR_error_string(ERR_get_error(), NULL)); + FATAL_ERROR(__FILE__, __LINE__, "RAND_bytes(): %s", ERR_error_string(ERR_get_error(), NULL)); } # elif defined(PKCS11CRYPTO) RUNTIME_CHECK(pk11_rand_bytes(buf, buflen) == ISC_R_SUCCESS);