]> granicus.if.org Git - apache/commitdiff
Fix printing of error message.
authorPaul Querna <pquerna@apache.org>
Tue, 19 Feb 2008 20:39:32 +0000 (20:39 +0000)
committerPaul Querna <pquerna@apache.org>
Tue, 19 Feb 2008 20:39:32 +0000 (20:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@629218 13f79535-47bb-0310-9956-ffa450edef68

support/htpasswd.c

index 129d8f0dba5fce5311feb9996ca89fb1b1193362..c3d1d5fb4f3bd53e2b73e6f7eb3a2e02dc9df9ac 100644 (file)
@@ -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);