summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-06 14:50:17 +0000
committerJim Meyering <jim@meyering.net>2004-05-06 14:50:17 +0000
commite93ae52456b766efcc07aef92505aa24fd9914e7 (patch)
tree72d931d3ca51442f6ef22c53c34d135da87392b0 /src/tail.c
parent4d9d9f4d027936111684bb0d63eb43a6535cddb1 (diff)
downloadcoreutils-e93ae52456b766efcc07aef92505aa24fd9914e7.tar.xz
(main): Use xnmalloc, rather than xmalloc.
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c2
1 files changed, 1 insertions, 1 deletions
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];