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:
parent
5aa9556306
commit
f6e11b394e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user