From: Daniel Wagner <[email protected]>
Reported by coverity.
---
vpn/vpn-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vpn/vpn-manager.c b/vpn/vpn-manager.c
index ee85af9..0b5a8ee 100644
--- a/vpn/vpn-manager.c
+++ b/vpn/vpn-manager.c
@@ -83,7 +83,7 @@ static DBusMessage *get_connections(DBusConnection *conn,
DBusMessage *msg,
reply = __vpn_provider_get_connections(msg);
if (!reply)
- return __connman_error_failed(msg, -EINVAL);
+ return __connman_error_failed(msg, EINVAL);
return reply;
}
--
1.8.4.474.g128a96c
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman