diff options
-rw-r--r-- | release/sysinstall/user.c | 1 | ||||
-rw-r--r-- | usr.sbin/sysinstall/user.c | 1 |
2 files changed, 0 insertions, 2 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); } 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); } |