util: fix typo in newdup

This commit is contained in:
Frederic Crozat
2012-05-21 16:53:18 +02:00
committed by Lennart Poettering
parent 06e2968ea6
commit 4d768ced49

View File

@@ -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))