[systemd-commits] src/shared
Lennart Poettering
lennart at kemper.freedesktop.org
Mon May 21 09:19:02 PDT 2012
src/shared/util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4d768ced49dfcd53a2372b69c3187f701ce7e331
Author: Frederic Crozat <fcrozat at suse.com>
Date: Mon May 21 16:53:18 2012 +0200
util: fix typo in newdup
diff --git a/src/shared/util.h b/src/shared/util.h
index e727ee7..49756dc 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))
More information about the systemd-commits
mailing list