aboutsummaryrefslogtreecommitdiff
path: root/wpa_supplicant/main_winmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/main_winmain.c')
-rw-r--r--wpa_supplicant/main_winmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/main_winmain.c b/wpa_supplicant/main_winmain.c
index 93a68f17bc3d..e1dded0c349a 100644
--- a/wpa_supplicant/main_winmain.c
+++ b/wpa_supplicant/main_winmain.c
@@ -61,7 +61,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
exitcode = -1;
break;
}
- if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL)
+ if (wpa_supplicant_add_iface(global, &ifaces[i], NULL) == NULL)
exitcode = -1;
}