From: Jim Meyering Date: Thu, 6 May 2004 14:50:17 +0000 (+0000) Subject: (main): Use xnmalloc, rather than xmalloc. X-Git-Tag: v5.3.0~1612 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e93ae52456b766efcc07aef92505aa24fd9914e7;p=thirdparty%2Fcoreutils.git (main): Use xnmalloc, rather than xmalloc. --- diff --git a/src/tail.c b/src/tail.c index d5c0c31d8c..bfb059cb34 100644 --- a/src/tail.c +++ b/src/tail.c @@ -1730,7 +1730,7 @@ main (int argc, char **argv) " indefinitely is ineffective")); } - F = xmalloc (n_files * sizeof (F[0])); + F = xnmalloc (n_files, sizeof *F); for (i = 0; i < n_files; i++) F[i].name = file[i];