core: fix bus property logic for RequiresMountsFor= dependencies (#7332)

We get a pointer to a pointer to a Hashmap, instead of just a pointer to
a Hashmap, let's handle that properly.
This commit is contained in:
Lennart Poettering 2017-11-14 21:50:59 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 5aa9556306
commit f6e11b394e
1 changed files with 2 additions and 2 deletions

View File

@ -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;