* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)pw_scan.c 8.3 (Berkeley) 4/2/94";
-#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
+__SCCSID("@(#)pw_scan.c 8.3 (Berkeley) 4/2/94");
__FBSDID("$FreeBSD$");
/*
#include <err.h>
#include <errno.h>
-#include <fcntl.h>
#include <pwd.h>
-#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
if (p[0])
pw->pw_fields |= _PWF_EXPIRE;
pw->pw_expire = atol(p);
- }
+ } else
+ pw->pw_class = NULL;
if (!(pw->pw_gecos = strsep(&bp, ":"))) /* gecos */
goto fmt;
if (pw->pw_gecos[0])