From 782b73c51431bb4f3b549d1ffbfe7ac05551bf2a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 6 May 2004 14:24:50 +0000 Subject: (main): Use xnmalloc, rather than xmalloc. --- src/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/df.c b/src/df.c index 40af13603..6e4adc696 100644 --- a/src/df.c +++ b/src/df.c @@ -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])) -- cgit v1.2.3-54-g00ecf