From: Jim Meyering Date: Fri, 7 Jan 2005 17:16:50 +0000 (+0000) Subject: (init_fps): Use xnmalloc, rather than xmalloc. X-Git-Tag: COREUTILS-5_3_0~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7536049fb03d7c89ea81785172b47c80e6799ba5;p=platform%2Fupstream%2Fcoreutils.git (init_fps): Use xnmalloc, rather than xmalloc. --- diff --git a/src/pr.c b/src/pr.c index a29c318..49112ec 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) {