diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-02 10:18:50 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-08-20 17:29:54 +0200 |
commit | b0edb0fc72a8d2c706f4144867b6795b49103f85 (patch) | |
tree | e3e0f4bb8d55c36950eb3709d4d3756ffdc49bbf /src/main.c | |
parent | f4c4b1b107f014244142e9b8a27208a5f3ac52b5 (diff) | |
download | grep-b0edb0fc72a8d2c706f4144867b6795b49103f85.tar.gz |
maint: use x2nrealloc, not xrealloc
* src/main.c (main): Use x2nrealloc, not xrealloc
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1927,7 +1927,7 @@ main (int argc, char **argv) { keycc += cc; if (keycc == keyalloc - 1) - keys = xrealloc (keys, keyalloc *= 2); + keys = x2nrealloc (keys, &keyalloc, sizeof *keys); } if (fp != stdin) fclose(fp); |