From c77eb3ed7f45e6db90ba13e55e0c75415e369969 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 10 Jan 2024 16:47:45 +0100 Subject: [PATCH] mx_util: Fix calloc argument order --- mx_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mx_util.c b/mx_util.c index 8818570..824a08c 100644 --- a/mx_util.c +++ b/mx_util.c @@ -931,7 +931,7 @@ char **mx_strvec_new(void) { char **strvec; - strvec = calloc(sizeof(*strvec), 1); + strvec = calloc(1, sizeof(*strvec)); if (!strvec) return NULL;