diff options
author | Frederic Crozat <fcrozat@suse.com> | 2012-05-21 16:53:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-21 18:18:49 +0200 |
commit | 4d768ced49dfcd53a2372b69c3187f701ce7e331 (patch) | |
tree | 64a13e53952bb4fa8c8a5e4e2957b4392ab7ce5f | |
parent | 06e2968ea6e3d8f90eb715b4a8e8a43b3d7449ab (diff) |
util: fix typo in newdup
-rw-r--r-- | src/shared/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index e727ee7389..49756dc21f 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)) |