summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-28 16:33:20 +0000
committerJim Meyering <jim@meyering.net>2005-06-28 16:33:20 +0000
commitcdedc0925ca605ebafdd541fc4403b5b77e92740 (patch)
tree1553cbcad51532a66be308dcc1ddfcaef5196569 /src/sort.c
parentdec00b59303aaccd63e1b768ad8c68a1d227a9e0 (diff)
downloadcoreutils-cdedc0925ca605ebafdd541fc4403b5b77e92740.tar.xz
(fillbuf): Use x2realloc on 1-byte base types, not x2nrealloc.
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 2b583d21c..5820de093 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -1059,7 +1059,7 @@ fillbuf (struct buffer *buf, FILE *fp, char const *file)
/* The current input line is too long to fit in the buffer.
Double the buffer size and try again. */
- buf->buf = x2nrealloc (buf->buf, &buf->alloc, sizeof *(buf->buf));
+ buf->buf = x2realloc (buf->buf, &buf->alloc);
}
}