chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shared: add root argument to search_and_fopen
[elogind.git]
/
src
/
shared
/
hashmap.c
diff --git
a/src/shared/hashmap.c
b/src/shared/hashmap.c
index b1dccaf4e7d34bcb67afca93d6f8e2ae799b9aff..65b7b741284bdcb5c0ad673cf6ae6b24110d66ea 100644
(file)
--- a/
src/shared/hashmap.c
+++ b/
src/shared/hashmap.c
@@
-201,7
+201,7
@@
Hashmap *hashmap_new(hash_func_t hash_func, compare_func_t compare_func) {
if (!h)
return NULL;
- mem
set(h, 0
, size);
+ mem
zero(h
, size);
} else {
h = malloc0(size);