From: Jim Meyering Date: Tue, 28 Jun 2005 16:31:31 +0000 (+0000) Subject: (dump_strings): Use x2realloc on 1-byte base types, not x2nrealloc. X-Git-Tag: CPPI-1_12~465 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dec00b59303aaccd63e1b768ad8c68a1d227a9e0;p=thirdparty%2Fcoreutils.git (dump_strings): Use x2realloc on 1-byte base types, not x2nrealloc. --- diff --git a/src/od.c b/src/od.c index ec398ea63b..29e2c17e3c 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++;