Fix additional const issues.

This commit is contained in:
nekral-guest
2010-08-21 19:22:32 +00:00
parent 791ebc58dd
commit c56d59c90b
4 changed files with 6 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ int setup_uid_gid (const struct passwd *info)
#if defined (HAVE_INITGROUPS) && ! defined (USE_PAM)
if (is_console) {
char *cp = getdef_str ("CONSOLE_GROUPS");
const char *cp = getdef_str ("CONSOLE_GROUPS");
if ((NULL != cp) && (add_groups (cp) != 0)) {
perror ("Warning: add_groups");