]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
whoops. One more.
authorJim Meyering <jim@meyering.net>
Thu, 6 Nov 2003 10:01:06 +0000 (10:01 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 6 Nov 2003 10:01:06 +0000 (10:01 +0000)
src/paste.c

index c83ace9fd880aafb9d980d72eb1ceac19657e82d..9d6b35ae7dad201e0b86a215bf5847db54239482 100644 (file)
@@ -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