chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hashmap: introduce hash_ops to make struct Hashmap smaller
[elogind.git]
/
src
/
libsystemd
/
sd-bus
/
busctl.c
diff --git
a/src/libsystemd/sd-bus/busctl.c
b/src/libsystemd/sd-bus/busctl.c
index af71804410d20b53e3dd9a7a132dd3182ad850bd..f06b74505b478d4a34ce3691d2fe07c26f8f100e 100644
(file)
--- a/
src/libsystemd/sd-bus/busctl.c
+++ b/
src/libsystemd/sd-bus/busctl.c
@@
-76,7
+76,7
@@
static int list_bus_names(sd_bus *bus, char **argv) {
pager_open_if_enabled();
pager_open_if_enabled();
- names = hashmap_new(
string_hash_func, string_compare_func
);
+ names = hashmap_new(
&string_hash_ops
);
if (!names)
return log_oom();
if (!names)
return log_oom();