From: Daniel Wagner <[email protected]>
Reported by coverity.
---
client/commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/commands.c b/client/commands.c
index 6191ee8..57a72e8 100644
--- a/client/commands.c
+++ b/client/commands.c
@@ -779,7 +779,7 @@ static void config_append_ipv6(DBusMessageIter *iter, void
*user_data)
append->values = i;
} else if (g_strcmp0(opts[0], "off") != 0) {
- fprintf(stderr, "Error %s: %s\n", opts[0], strerror(-EINVAL));
+ fprintf(stderr, "Error %s: %s\n", opts[0], strerror(EINVAL));
return;
}
--
1.8.4.474.g128a96c
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman