summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-28 16:31:31 +0000
committerJim Meyering <jim@meyering.net>2005-06-28 16:31:31 +0000
commitdec00b59303aaccd63e1b768ad8c68a1d227a9e0 (patch)
treea481ea866b1f4b37db9536f173d7d0fed889183b /src
parentb64058f69ed42fc42ed16038c40d2384d2ae81a8 (diff)
downloadcoreutils-dec00b59303aaccd63e1b768ad8c68a1d227a9e0.tar.xz
(dump_strings): Use x2realloc on 1-byte base types, not x2nrealloc.
Diffstat (limited to 'src')
-rw-r--r--src/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/od.c b/src/od.c
index ec398ea63..29e2c17e3 100644
--- 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++;