From: Paul Querna Date: Tue, 19 Feb 2008 20:39:32 +0000 (+0000) Subject: Fix printing of error message. X-Git-Tag: 2.3.0~956 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=364dc4667fb52ec184df0df5a174ee00f23b0caa;p=apache Fix printing of error message. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@629218 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htpasswd.c b/support/htpasswd.c index 129d8f0dba..c3d1d5fb4f 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -132,7 +132,7 @@ static apr_status_t seed_rand() apr_status_t rv; rv = apr_generate_random_bytes((unsigned char*) &seed, sizeof(seed)); if (rv) { - apr_file_printf(errfile, "Unable to generate random bytes: %pm" NL, rv); + apr_file_printf(errfile, "Unable to generate random bytes: %pm" NL, &rv); return rv; } srand(seed);