httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r816388 - /httpd/httpd/trunk/modules/arch/unix/mod_unixd.c
Date Thu, 17 Sep 2009 21:35:04 GMT
Author: wrowe
Date: Thu Sep 17 21:35:04 2009
New Revision: 816388

URL: http://svn.apache.org/viewvc?rev=816388&view=rev
Log:
Treat gid's identically to uid's for purposes of numeric formatting.

Modified:
    httpd/httpd/trunk/modules/arch/unix/mod_unixd.c

Modified: httpd/httpd/trunk/modules/arch/unix/mod_unixd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/arch/unix/mod_unixd.c?rev=816388&r1=816387&r2=816388&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/arch/unix/mod_unixd.c (original)
+++ httpd/httpd/trunk/modules/arch/unix/mod_unixd.c Thu Sep 17 21:35:04 2009
@@ -115,8 +115,8 @@
          */
         if (setgid(ap_unixd_config.group_id) == -1) {
             ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
-                        "setgid: unable to set group id to Group %u",
-                        (unsigned)ap_unixd_config.group_id);
+                        "setgid: unable to set group id to Group %ld",
+                        (long)ap_unixd_config.group_id);
             return -1;
         }
 
@@ -125,7 +125,7 @@
         if (initgroups(name, ap_unixd_config.group_id) == -1) {
             ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
                         "initgroups: unable to set groups for User %s "
-                        "and Group %u", name, (unsigned)ap_unixd_config.group_id);
+                        "and Group %ld", name, (long)ap_unixd_config.group_id);
             return -1;
         }
 #endif /* !defined(OS2) */



Mime
View raw message