diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-06 14:51:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-06 14:51:20 +0000 |
commit | 89bba9158d94abdf3d49d0814ad09005fd4196a0 (patch) | |
tree | 371a11bda7457b8f62c1390ebfed103b79b03241 | |
parent | e93ae52456b766efcc07aef92505aa24fd9914e7 (diff) | |
download | coreutils-89bba9158d94abdf3d49d0814ad09005fd4196a0.tar.xz |
(main): Use xnmalloc, rather than xmalloc.
-rw-r--r-- | src/md5sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index 1a9ebab14..d37a06def 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -575,7 +575,7 @@ main (int argc, char **argv) case 1: /* --string */ { if (string == NULL) - string = xmalloc ((argc - 1) * sizeof (char *)); + string = xnmalloc (argc - 1, sizeof *string); if (optarg == NULL) optarg = ""; |