From: Frederic Crozat Date: Mon, 21 May 2012 14:53:18 +0000 (+0200) Subject: util: fix typo in newdup X-Git-Tag: v183~72 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d768ced49dfcd53a2372b69c3187f701ce7e331;p=systemd util: fix typo in newdup --- diff --git a/src/shared/util.h b/src/shared/util.h index e727ee73..49756dc2 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -103,7 +103,7 @@ bool streq_ptr(const char *a, const char *b); #define newa(t, n) ((t*) alloca(sizeof(t)*(n))) -#define newdup(t, p, n) ((t*) memdup(p, sizeof(t)*(n)) +#define newdup(t, p, n) ((t*) memdup(p, sizeof(t)*(n))) #define malloc0(n) (calloc((n), 1))