about summary refs log tree commit diff
path: root/msort.c
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2024-05-18 11:30:24 +0200
committerLeah Neukirchen <leah@vuxu.org>2024-05-18 14:26:45 +0200
commitd5e202b30f46123d836c73f989587ab2df011fb3 (patch)
treefac6a10284f2851508198f50ce67e9ed9ff52aaa /msort.c
parenta4502e83c4a509180dd7f251db4f6ab564913501 (diff)
downloadmblaze-master.tar.gz
mblaze-master.tar.xz
mblaze-master.zip
fix calloc argument order HEAD master
These were found through gcc warnings.

Message-ID: <20240518093029.4799-1-s.jegen@gmail.com>
Diffstat (limited to 'msort.c')
-rw-r--r--msort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/msort.c b/msort.c
index 5d2d88d..02d1e42 100644
--- a/msort.c
+++ b/msort.c
@@ -319,7 +319,7 @@ main(int argc, char *argv[])
 
 	xpledge("stdio rpath", "");
 
-	mails = calloc(sizeof (struct mail), mailalloc);
+	mails = calloc(mailalloc, sizeof (struct mail));
 	if (!mails)
 		exit(-1);