From 5f66700b4aa22f3cd8514e9bdc7883bca523ace0 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 20 Sep 2018 16:06:40 +0200 Subject: [PATCH] cli: adjust error message about incompatible connection/device # nmcli connection up w ifname w Error: device 'w' not compatible with connection 'w':The connection was not an Ethernet or PPPoE connection.. --- clients/cli/connections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 0309dc3cfa..eae50afc39 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -2287,7 +2287,7 @@ find_device_for_connection (NmCli *nmc, continue; if (!nm_device_connection_compatible (dev, connection, error)) { - g_prefix_error (error, _("device '%s' not compatible with connection '%s':"), + g_prefix_error (error, _("device '%s' not compatible with connection '%s': "), iface, nm_setting_connection_get_id (s_con)); return FALSE; }