summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/user.c')
-rw-r--r--usr.sbin/sysinstall/user.c1
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);
}
OpenPOWER on IntegriCloud