summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 11dc6251..a5ee2ed1 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -2034,7 +2034,7 @@ struct ofono_voicecall *ofono_voicecall_create(struct ofono_modem *modem,
return vc;
}
-static void sim_state_watch(void *user, enum ofono_sim_state new_state)
+static void sim_state_watch(enum ofono_sim_state new_state, void *user)
{
struct ofono_voicecall *vc = user;
@@ -2085,7 +2085,7 @@ static void sim_watch(struct ofono_atom *atom,
sim_state_watch,
vc, NULL);
- sim_state_watch(vc, ofono_sim_get_state(sim));
+ sim_state_watch(ofono_sim_get_state(sim), vc);
}
void ofono_voicecall_register(struct ofono_voicecall *vc)