+2011-11-16 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/useradd.c: Compil fix when SHADOWGRP is not enabled.
+
2011-11-13 Nicolas François <nicolas.francois@centraliens.net>
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
{
memzero (grent, sizeof *grent);
grent->gr_name = (char *) user_name;
+#ifdef SHADOWGRP
if (is_shadow_grp) {
grent->gr_passwd = SHADOW_PASSWD_STRING; /* XXX warning: const */
- } else {
+ } else
+#endif /* SHADOWGRP */
+ {
grent->gr_passwd = "!"; /* XXX warning: const */
}
grent->gr_gid = user_gid;