From: Jim Meyering Date: Thu, 6 Nov 2003 10:01:06 +0000 (+0000) Subject: whoops. One more. X-Git-Tag: v5.1.0~210 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1223022f7699a2b80d0c9cee5afa7a29b6f7d798;p=thirdparty%2Fcoreutils.git whoops. One more. --- diff --git a/src/paste.c b/src/paste.c index c83ace9fd8..9d6b35ae7d 100644 --- a/src/paste.c +++ b/src/paste.c @@ -171,7 +171,7 @@ paste_parallel (int nfiles, char **fnamptr) int opened_stdin = 0; /* Nonzero if any fopen got fd 0. */ delbuf = xmalloc (file_list_size + 2); - fileptr = xmalloc ((file_list_size + 1) * sizeof (FILE *)); + fileptr = xmalloc ((file_list_size + 1) * sizeof *fileptr); /* Attempt to open all files. This could be expanded to an infinite number of files, but at the (considerable) expense of remembering