Author: delphij
Date: Sat Jan  5 00:23:58 2013
New Revision: 245050
URL: http://svnweb.freebsd.org/changeset/base/245050

Log:
  Follow calloc convention in other code, this is functionally identical
  to its previous form.

Modified:
  head/usr.bin/xargs/strnsubst.c

Modified: head/usr.bin/xargs/strnsubst.c
==============================================================================
--- head/usr.bin/xargs/strnsubst.c      Sat Jan  5 00:23:26 2013        
(r245049)
+++ head/usr.bin/xargs/strnsubst.c      Sat Jan  5 00:23:58 2013        
(r245050)
@@ -48,7 +48,7 @@ strnsubst(char **str, const char *match,
                match = NULL;
                maxsize = strlen(s1) + 1;
        }
-       s2 = calloc(maxsize, 1);
+       s2 = calloc(1, maxsize);
        if (s2 == NULL)
                err(1, "calloc");
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to