chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06e2968
)
util: fix typo in newdup
author
Frederic Crozat
<fcrozat@suse.com>
Mon, 21 May 2012 14:53:18 +0000
(16:53 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 21 May 2012 16:18:49 +0000
(18:18 +0200)
src/shared/util.h
patch
|
blob
|
history
diff --git
a/src/shared/util.h
b/src/shared/util.h
index e727ee738908f84b8b070fe005e8a0c8fee86a4e..49756dc21ff7051b910c7897e91fb703e68cf13d 100644
(file)
--- 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))