projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aa9556
)
core: fix bus property logic for RequiresMountsFor= dependencies (#7332)
author
Lennart Poettering
<lennart@poettering.net>
Tue, 14 Nov 2017 20:50:59 +0000
(21:50 +0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 14 Nov 2017 20:50:59 +0000
(21:50 +0100)
We get a pointer to a pointer to a Hashmap, instead of just a pointer to
a Hashmap, let's handle that properly.
src/core/dbus-unit.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-unit.c
b/src/core/dbus-unit.c
index
f75d0d6
..
32fcb5e
100644
(file)
--- a/
src/core/dbus-unit.c
+++ b/
src/core/dbus-unit.c
@@
-147,9
+147,9
@@
static int property_get_requires_mounts_for(
void *userdata,
sd_bus_error *error) {
- Hashmap *h = (Hashmap*) userdata;
- Iterator j;
+ Hashmap *h = *(Hashmap**) userdata;
const char *p;
+ Iterator j;
void *v;
int r;