summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-02-18 01:50:51 +0000
committerjkh <jkh@FreeBSD.org>1997-02-18 01:50:51 +0000
commit6e28b5a6df0e1ab4114b35fb5a1f3b0d4e4db758 (patch)
treeb37a118beaa1f5ba7cf9c0ded5320e3fb18b430d /release
parentf8ba92686c79904b621ef93c6d9c5c95a864ef87 (diff)
downloadFreeBSD-src-6e28b5a6df0e1ab4114b35fb5a1f3b0d4e4db758.zip
FreeBSD-src-6e28b5a6df0e1ab4114b35fb5a1f3b0d4e4db758.tar.gz
Don't initialize homedir value. When called this early, pw(8) has no
reasonable data for it.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/release/sysinstall/user.c b/release/sysinstall/user.c
index f3006e3..7d8943c 100644
--- a/release/sysinstall/user.c
+++ b/release/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);
}
OpenPOWER on IntegriCloud