Fix error messages for interface replies
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 4 Jan 2009 20:12:27 +0000 (21:12 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 4 Jan 2009 20:12:27 +0000 (21:12 +0100)
plugins/supplicant.c

index 88e8123..c11b885 100644 (file)
@@ -156,7 +156,7 @@ static void add_interface_reply(DBusPendingCall *call, void *user_data)
                        connman_error("%s", error.message);
                        dbus_error_free(&error);
                } else
                        connman_error("%s", error.message);
                        dbus_error_free(&error);
                } else
-                       connman_error("Wrong arguments for interface");
+                       connman_error("Wrong arguments for add interface");
                goto done;
        }
 
                goto done;
        }
 
@@ -226,7 +226,7 @@ static void get_interface_reply(DBusPendingCall *call, void *user_data)
                        connman_error("%s", error.message);
                        dbus_error_free(&error);
                } else
                        connman_error("%s", error.message);
                        dbus_error_free(&error);
                } else
-                       connman_error("Wrong arguments for interface");
+                       connman_error("Wrong arguments for get interface");
                goto done;
        }
 
                goto done;
        }