From e93ae52456b766efcc07aef92505aa24fd9914e7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 6 May 2004 14:50:17 +0000 Subject: (main): Use xnmalloc, rather than xmalloc. --- src/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tail.c') diff --git a/src/tail.c b/src/tail.c index d5c0c31d8..bfb059cb3 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]; -- cgit v1.2.3-54-g00ecf