diff options
author | jkh <jkh@FreeBSD.org> | 1997-02-18 01:50:51 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-02-18 01:50:51 +0000 |
commit | 6e28b5a6df0e1ab4114b35fb5a1f3b0d4e4db758 (patch) | |
tree | b37a118beaa1f5ba7cf9c0ded5320e3fb18b430d /usr.sbin | |
parent | f8ba92686c79904b621ef93c6d9c5c95a864ef87 (diff) | |
download | FreeBSD-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 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/user.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |