summaryrefslogtreecommitdiffstats
path: root/src/install/util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/install/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install/util.h b/src/install/util.h
index f022f15..358afc8 100644
--- a/src/install/util.h
+++ b/src/install/util.h
@@ -113,7 +113,7 @@ bool streq_ptr(const char *a, const char *b);
#define newdup(t, p, n) ((t*) memdup(p, sizeof(t)*(n)))
-#define malloc0(n) (calloc((n), 1))
+#define malloc0(n) (calloc(1, (n)))
static inline const char *yes_no(bool b)
{