From: Jim Meyering Date: Tue, 4 Nov 2003 09:28:28 +0000 (+0000) Subject: (new_key): Use xzalloc, not xcalloc. X-Git-Tag: v5.1.0~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5506fdeffd63153f7c3e1ec4fd0538bab1e54122;p=thirdparty%2Fcoreutils.git (new_key): Use xzalloc, not xcalloc. --- diff --git a/src/sort.c b/src/sort.c index 735be38543..459dba998b 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2210,7 +2210,7 @@ set_ordering (register const char *s, struct keyfield *key, static struct keyfield * new_key (void) { - struct keyfield *key = xcalloc (1, sizeof *key); + struct keyfield *key = xzalloc (sizeof *key); key->eword = SIZE_MAX; return key; }