svn commit: r282716 - head/usr.sbin/pw

Baptiste Daroussin bapt at FreeBSD.org
Sun May 10 09:33:15 UTC 2015


Author: bapt
Date: Sun May 10 09:33:15 2015
New Revision: 282716
URL: https://svnweb.freebsd.org/changeset/base/282716

Log:
  Remove useless call to extendarray

Modified:
  head/usr.sbin/pw/pw_conf.c

Modified: head/usr.sbin/pw/pw_conf.c
==============================================================================
--- head/usr.sbin/pw/pw_conf.c	Sun May 10 09:33:03 2015	(r282715)
+++ head/usr.sbin/pw/pw_conf.c	Sun May 10 09:33:15 2015	(r282716)
@@ -438,7 +438,6 @@ write_userconfig(char const * file)
 			    config.default_group : "");
 			break;
 		case _UC_EXTRAGROUPS:
-			extendarray(&config.groups, &config.numgroups, 200);
 			for (j = 0; j < config.numgroups &&
 			    config.groups[j] != NULL; j++)
 				sbuf_printf(buf, "%s\"%s\"", j ?


More information about the svn-src-all mailing list