summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-08-15 11:31:24 +0200
committerJim Meyering <meyering@redhat.com>2012-08-16 20:13:59 +0200
commit1e987a9966122e08a0d47cfd75baf63302314ea8 (patch)
tree3dede4d77e8fed79824eb20cdaf6493a968aed7a /src
parentf1a03de07f568d4ba441712c2d7b10ff50ad444b (diff)
downloadcoreutils-1e987a9966122e08a0d47cfd75baf63302314ea8.tar.xz
maint: correct a stale comment in sort.c
* src/sort.c (fillbuf): Fix comment typo. x2nrealloc no longer doubles the size of its input buffer.
Diffstat (limited to 'src')
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index 85d7869de..d362dc54a 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -1813,7 +1813,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, keeping it properly
+ Increase the buffer size and try again, keeping it properly
aligned. */
size_t line_alloc = buf->alloc / sizeof (struct line);
buf->buf = x2nrealloc (buf->buf, &line_alloc, sizeof (struct line));