diff options
author | Jim Meyering <jim@meyering.net> | 2005-01-07 17:16:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-01-07 17:16:50 +0000 |
commit | 7536049fb03d7c89ea81785172b47c80e6799ba5 (patch) | |
tree | edf43f419ea881282878ea47207085bea1b1f510 /src | |
parent | f9da135faf0217ec27c2766344e3b96d20c97719 (diff) | |
download | coreutils-7536049fb03d7c89ea81785172b47c80e6799ba5.tar.xz |
(init_fps): Use xnmalloc, rather than xmalloc.
Diffstat (limited to 'src')
-rw-r--r-- | src/pr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |