summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/csplit.c')
-rw-r--r--src/csplit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csplit.c b/src/csplit.c
index f4fe7221c..9bca37cd0 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -1033,7 +1033,7 @@ new_control_record (void)
struct control *p;
if (control_used == control_allocated)
- controls = x2nrealloc (controls, &control_allocated, sizeof *controls);
+ controls = X2NREALLOC (controls, &control_allocated);
p = &controls[control_used++];
p->regexpr = NULL;
p->repeat = 0;