From 1223022f7699a2b80d0c9cee5afa7a29b6f7d798 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 6 Nov 2003 10:01:06 +0000 Subject: [PATCH] whoops. One more. --- src/paste.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2