From 7536049fb03d7c89ea81785172b47c80e6799ba5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 7 Jan 2005 17:16:50 +0000 Subject: (init_fps): Use xnmalloc, rather than xmalloc. --- src/pr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2