diff options
Diffstat (limited to 'src/libudev/hashmap.c')
-rw-r--r-- | src/libudev/hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/hashmap.c b/src/libudev/hashmap.c index 23e42f7b34..b92c83202e 100644 --- a/src/libudev/hashmap.c +++ b/src/libudev/hashmap.c @@ -168,7 +168,7 @@ Hashmap *hashmap_new(hash_func_t hash_func, compare_func_t compare_func) { if (!h) return NULL; - memset(h, 0, size); + memzero(h, size); } else { h = malloc0(size); |