From b53f8de08b1c4753ff34a1f10ecf81759bcd517a Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 14 Sep 2017 10:25:36 +0200 Subject: [PATCH] vlan: improve error message on missing parent ifindex The message should only tell what went wrong. --- src/devices/nm-device-vlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device-vlan.c b/src/devices/nm-device-vlan.c index 4d02b4ad2b..171af14e02 100644 --- a/src/devices/nm-device-vlan.c +++ b/src/devices/nm-device-vlan.c @@ -239,7 +239,7 @@ create_and_realize (NMDevice *device, parent_ifindex = nm_device_get_ifindex (parent); if (parent_ifindex <= 0) { g_set_error (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_MISSING_DEPENDENCIES, - "cannot retrieve ifindex of interface %s (%s): skip VLAN creation for now", + "cannot retrieve ifindex of interface %s (%s)", nm_device_get_iface (parent), nm_device_get_type_desc (parent)); return FALSE;