You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/02/19 21:39:33 UTC
svn commit: r629218 - /httpd/httpd/trunk/support/htpasswd.c
Author: pquerna
Date: Tue Feb 19 12:39:32 2008
New Revision: 629218
URL: http://svn.apache.org/viewvc?rev=629218&view=rev
Log:
Fix printing of error message.
Modified:
httpd/httpd/trunk/support/htpasswd.c
Modified: httpd/httpd/trunk/support/htpasswd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/htpasswd.c?rev=629218&r1=629217&r2=629218&view=diff
==============================================================================
--- httpd/httpd/trunk/support/htpasswd.c (original)
+++ httpd/httpd/trunk/support/htpasswd.c Tue Feb 19 12:39:32 2008
@@ -132,7 +132,7 @@
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);