diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-06 14:24:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-06 14:24:50 +0000 |
commit | 782b73c51431bb4f3b549d1ffbfe7ac05551bf2a (patch) | |
tree | dbfe9d707c6b116bae0c17058a8b11a86a4f9af1 | |
parent | 94c2794761bdca0b8523b279cf4cdb03bf343234 (diff) | |
download | coreutils-782b73c51431bb4f3b549d1ffbfe7ac05551bf2a.tar.xz |
(main): Use xnmalloc, rather than xmalloc.
-rw-r--r-- | src/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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])) |