chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-journal: fix sd_journal_enumerate_unique skipping values
[elogind.git]
/
src
/
cgtop
/
cgtop.c
diff --git
a/src/cgtop/cgtop.c
b/src/cgtop/cgtop.c
index 509fe4cdc8341a89155494ffdb37ce39cb923221..ab8c4cfda1cfcc6678bd9a5a0a3fc4210ec27226 100644
(file)
--- a/
src/cgtop/cgtop.c
+++ b/
src/cgtop/cgtop.c
@@
-695,8
+695,8
@@
int main(int argc, char *argv[]) {
if (r <= 0)
goto finish;
if (r <= 0)
goto finish;
- a = hashmap_new(
string_hash_func, string_compare_func
);
- b = hashmap_new(
string_hash_func, string_compare_func
);
+ a = hashmap_new(
&string_hash_ops
);
+ b = hashmap_new(
&string_hash_ops
);
if (!a || !b) {
r = log_oom();
goto finish;
if (!a || !b) {
r = log_oom();
goto finish;