*/
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;
}
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) */