From 41840262bcff1c4b16440abbdf1b154166cb5ab6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 16 Dec 2024 19:34:34 -0500 Subject: [PATCH] devices/ipvlan,macvlan: rephrase an error message --- src/core/devices/nm-device-ipvlan.c | 5 ++--- src/core/devices/nm-device-macvlan.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/core/devices/nm-device-ipvlan.c b/src/core/devices/nm-device-ipvlan.c index 662e3ff28b..a96009df38 100644 --- a/src/core/devices/nm-device-ipvlan.c +++ b/src/core/devices/nm-device-ipvlan.c @@ -183,9 +183,8 @@ create_and_realize(NMDevice *device, g_set_error(error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_FAILED, - "unsupported IPVLAN mode %u in connection %s", - nm_setting_ipvlan_get_mode(s_ipvlan), - nm_connection_get_uuid(connection)); + "unsupported IPVLAN mode %u", + nm_setting_ipvlan_get_mode(s_ipvlan)); return FALSE; } lnk.mode = setting_mode_to_platform(nm_setting_ipvlan_get_mode(s_ipvlan)); diff --git a/src/core/devices/nm-device-macvlan.c b/src/core/devices/nm-device-macvlan.c index 8cdef0cfe2..ef2a4c4879 100644 --- a/src/core/devices/nm-device-macvlan.c +++ b/src/core/devices/nm-device-macvlan.c @@ -232,9 +232,8 @@ create_and_realize(NMDevice *device, g_set_error(error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_FAILED, - "unsupported MACVLAN mode %u in connection %s", - nm_setting_macvlan_get_mode(s_macvlan), - nm_connection_get_uuid(connection)); + "unsupported MACVLAN mode %u", + nm_setting_macvlan_get_mode(s_macvlan)); return FALSE; } lnk.no_promisc = !nm_setting_macvlan_get_promiscuous(s_macvlan);