From: Daniel Wagner <[email protected]>

Reported by coverity.
---
 src/provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/provider.c b/src/provider.c
index b1a2a3b..b022dec 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -390,7 +390,7 @@ static void connection_ready(DBusMessage *msg, int 
error_code, void *user_data)
 
                provider = provider_lookup(identifier);
                if (!provider) {
-                       reply = __connman_error_failed(msg, -EINVAL);
+                       reply = __connman_error_failed(msg, EINVAL);
                        g_dbus_send_message(connection, reply);
                        return;
                }
-- 
1.8.4.474.g128a96c

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to