From 6e28b5a6df0e1ab4114b35fb5a1f3b0d4e4db758 Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 18 Feb 1997 01:50:51 +0000 Subject: Don't initialize homedir value. When called this early, pw(8) has no reasonable data for it. --- usr.sbin/sysinstall/user.c | 1 - 1 file changed, 1 deletion(-) (limited to 'usr.sbin/sysinstall/user.c') diff --git a/usr.sbin/sysinstall/user.c b/usr.sbin/sysinstall/user.c index f3006e3..7d8943c 100644 --- a/usr.sbin/sysinstall/user.c +++ b/usr.sbin/sysinstall/user.c @@ -533,7 +533,6 @@ completeUser(void) if ((cp2 = strchr(cp, ':')) == NULL) return; *cp2++ = '\0'; - strncpy(homedir, cp, sizeof homedir); if (*cp2) strncpy(shell, cp2, sizeof shell); } -- cgit v1.1