commit - 04b947cdc3ad1f3370aae2ba2e7308587bea0dda
commit + f8f8a9a04146fb7a4e1570ce0474ea86806879ed
blob - e26ac3bd652cf18b2067b4c47e1eb0ad7172ee72
blob + f0cb15045993b9a5df1d587f7d19d343c4cc6797
--- src/ngircd/ngircd.c
+++ src/ngircd/ngircd.c
grp = getgrgid(Conf_GID);
Log(LOG_ERR, "Can't change group ID to %s(%u): %s!",
grp ? grp->gr_name : "?", Conf_GID,
- strerror(errno));
+ strerror(real_errno));
if (real_errno != EPERM)
goto out;
}
pwd = getpwuid(Conf_UID);
Log(LOG_ERR, "Can't change user ID to %s(%u): %s!",
pwd ? pwd->pw_name : "?", Conf_UID,
- strerror(errno));
+ strerror(real_errno));
if (real_errno != EPERM)
goto out;
}