Fix build warnings for gcc 9
[platform/core/connectivity/net-config.git] / src / wifi-config.c
index e81bc43..680246d 100755 (executable)
@@ -1374,7 +1374,7 @@ gboolean handle_save_configuration(Wifi *wifi, GDBusMethodInvocation *context,
                                        if (__remove_configuration(profileName) != TRUE)
                                                DBG("Failed to remove profile: [%s]", profileName);
                                } else
-                                       ERR("Profile: [%s] does not exist", profileName);
+                                       ERR("Profile: [%s] does not exist", file);
 
                                g_free(profileName);
                        }