summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pwupd.c
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1996-12-21 15:35:45 +0000
committerdavidn <davidn@FreeBSD.org>1996-12-21 15:35:45 +0000
commitae5c4633974707111deaccca4fce48ed57a8709a (patch)
treea19b414da205cc5b6cb7bfd7df7d715f90b3c13f /usr.sbin/pw/pwupd.c
parent705d04d9c464156ec9eec74e0154ef19287ddeca (diff)
downloadFreeBSD-src-ae5c4633974707111deaccca4fce48ed57a8709a.zip
FreeBSD-src-ae5c4633974707111deaccca4fce48ed57a8709a.tar.gz
1) 200 users per group limitation removed and pw
will handle lines of any length in /etc/group. 2) Fixed bug with usermod -d not updating user's home directory. 3) Minor formatting display changes/fixes with *show -P.
Diffstat (limited to 'usr.sbin/pw/pwupd.c')
-rw-r--r--usr.sbin/pw/pwupd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pw/pwupd.c b/usr.sbin/pw/pwupd.c
index 149d239..fb56dac 100644
--- a/usr.sbin/pw/pwupd.c
+++ b/usr.sbin/pw/pwupd.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pwupd.c,v 1.1.1.2 1996/12/09 23:55:27 joerg Exp $
+ * $Id: pwupd.c,v 1.1.1.3 1996/12/10 23:59:02 joerg Exp $
*/
#include <stdio.h>
@@ -118,7 +118,7 @@ pw_update(struct passwd * pwd, char const * user, int mode)
{ /* No -c */
#endif
char pfx[32];
- char pwbuf[MAXPWLINE];
+ char pwbuf[PWBUFSZ];
int l = sprintf(pfx, "%s:", user);
/*
OpenPOWER on IntegriCloud