1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

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

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;