summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-08-12 07:16:25 +0000
committerJim Meyering <jim@meyering.net>2005-08-12 07:16:25 +0000
commit0b08c3815214197faf9baf5cd77ddac6ae6f7c1d (patch)
tree12bcef60191f67fb8184bd12adaa0bfda5c40ce1 /src/csplit.c
parent6f7fd1a8667c45df0207fef3399b6167dbd283f3 (diff)
downloadcoreutils-0b08c3815214197faf9baf5cd77ddac6ae6f7c1d.tar.xz
Cosmetic: use X2NREALLOC (only two arguments) rather than x2nrealloc (with three).
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;