+2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/sulogin.c: Ignore the return value of signal().
+
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
* src/groups.c: sys_ngroups is only used when HAVE_GETGROUPS is
(void) strcpy (name, "root"); /* KLUDGE!!! */
- signal (SIGALRM, catch_signals); /* exit if the timer expires */
- alarm (ALARM); /* only wait so long ... */
+ (void) signal (SIGALRM, catch_signals); /* exit if the timer expires */
+ (void) alarm (ALARM); /* only wait so long ... */
while (true) { /* repeatedly get login/password pairs */
pw_entry (name, &pwent); /* get entry from password file */
}
strzero (pass);
(void) alarm (0);
- signal (SIGALRM, SIG_DFL);
+ (void) signal (SIGALRM, SIG_DFL);
environ = newenvp; /* make new environment active */
puts (_("Entering System Maintenance Mode"));