diff options
author | joerg <joerg@FreeBSD.org> | 1996-12-15 11:22:37 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-12-15 11:22:37 +0000 |
commit | 81835df19361b49e48aa95e6eb58252e04efec73 (patch) | |
tree | f2366b1d57b05d28ecdc0dc4fd7d069611a81f4d /usr.sbin/sysinstall/user.c | |
parent | 778ced07dee6643383c5a3e5b4b4acda21883d93 (diff) | |
download | FreeBSD-src-81835df19361b49e48aa95e6eb58252e04efec73.zip FreeBSD-src-81835df19361b49e48aa95e6eb58252e04efec73.tar.gz |
Increase the size of the vector that is allocated for execv(). Jordan
apparently forgot this when adding the password feature.
Diffstat (limited to 'usr.sbin/sysinstall/user.c')
-rw-r--r-- | usr.sbin/sysinstall/user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/user.c b/usr.sbin/sysinstall/user.c index 89f4ab8..d289054 100644 --- a/usr.sbin/sysinstall/user.c +++ b/usr.sbin/sysinstall/user.c @@ -1,5 +1,5 @@ /* - * $Id: user.c,v 1.3 1996/12/10 02:15:54 joerg Exp $ + * $Id: user.c,v 1.4 1996/12/14 23:09:10 jkh Exp $ * * Copyright (c) 1996 * Jörg Wunsch. All rights reserved. @@ -671,9 +671,9 @@ addUser(WINDOW *ds_win) pid_t pid; /* * Maximal list: - * pw user add -m -n uname -g grp -u uid -c comment -d homedir -s shell -G grplist + * pw user add -m -n uname -g grp -u uid -c comment -d homedir -s shell -G grplist -h 0 */ - char *vec[19] = + char *vec[21] = { "pw", "user", "add", "-m", "-n", /* ... */ }; |