(main): Use xnmalloc, rather than xmalloc.

This commit is contained in:
Jim Meyering committed 2004-05-06 14:24:50 +00:00
1 parent 94c2794761
commit 782b73c514
1 file changed
+1 -1
+1 -1
View File
@@ -877,7 +877,7 @@ main (int argc, char **argv)
/* stat all the given entries to make sure they get automounted,
if necessary, before reading the filesystem table. */
stats = xmalloc ((argc - optind) * sizeof *stats);
stats = xnmalloc (argc - optind, sizeof *stats);
for (i = optind; i < argc; ++i)
{
if (stat (argv[i], &stats[i - optind]))