]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(dump_strings): Use x2realloc on 1-byte base types, not x2nrealloc.
authorJim Meyering <jim@meyering.net>
Tue, 28 Jun 2005 16:31:31 +0000 (16:31 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 28 Jun 2005 16:31:31 +0000 (16:31 +0000)
src/od.c

index ec398ea63ba2d25bc8dc1878105e1a16122076d6..29e2c17e3ce65ef5f65fb047e746e4e16637b234 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -1470,7 +1470,7 @@ dump_strings (void)
        {
          if (i == bufsize)
            {
-             buf = x2nrealloc (buf, &bufsize, sizeof *buf);
+             buf = x2realloc (buf, &bufsize);
            }
          ok &= read_char (&c);
          address++;