summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2012-05-21 16:53:18 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-21 18:18:49 +0200
commit4d768ced49dfcd53a2372b69c3187f701ce7e331 (patch)
tree64a13e53952bb4fa8c8a5e4e2957b4392ab7ce5f /src
parent06e2968ea6e3d8f90eb715b4a8e8a43b3d7449ab (diff)
util: fix typo in newdup
Diffstat (limited to 'src')
-rw-r--r--src/shared/util.h2
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))