summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-07 17:16:50 +0000
committerJim Meyering <jim@meyering.net>2005-01-07 17:16:50 +0000
commit7536049fb03d7c89ea81785172b47c80e6799ba5 (patch)
treeedf43f419ea881282878ea47207085bea1b1f510 /src
parentf9da135faf0217ec27c2766344e3b96d20c97719 (diff)
downloadcoreutils-7536049fb03d7c89ea81785172b47c80e6799ba5.tar.xz
(init_fps): Use xnmalloc, rather than xmalloc.
Diffstat (limited to 'src')
-rw-r--r--src/pr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pr.c b/src/pr.c
index a29c3180d..49112ecaf 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1,5 +1,5 @@
/* pr -- convert text files for printing.
- Copyright (C) 88, 91, 1995-2004 Free Software Foundation, Inc.
+ Copyright (C) 88, 91, 1995-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1329,7 +1329,7 @@ init_fps (int number_of_files, char **av)
if (column_vector != NULLCOL)
free (column_vector);
- column_vector = xmalloc (columns * sizeof (COLUMN));
+ column_vector = xnmalloc (columns, sizeof (COLUMN));
if (parallel_files)
{