From 89bba9158d94abdf3d49d0814ad09005fd4196a0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 6 May 2004 14:51:20 +0000 Subject: (main): Use xnmalloc, rather than xmalloc. --- src/md5sum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""; -- cgit v1.2.3-70-g09d2