summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index 735be3854..459dba998 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;
}