manager: reword some error messages

They've been a little too cryptic and unnecessarily long before.
This commit is contained in:
Lubomir Rintel 2025-01-13 14:15:33 +01:00
parent cfe6e730b3
commit 25871f1971
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@ nm_device_factory_get_connection_iface(NMDeviceFactory *factory,
g_set_error(error,
NM_MANAGER_ERROR,
NM_MANAGER_ERROR_FAILED,
"failed to determine interface name: error determine name for %s",
"failed to determine interface name for a %s",
nm_connection_get_connection_type(connection));
return NULL;
}

View file

@ -2522,7 +2522,7 @@ return_ifname_fom_connection:
g_set_error(error,
NM_MANAGER_ERROR,
NM_MANAGER_ERROR_FAILED,
"failed to determine interface name: error determine name for %s",
"failed to determine interface name for a %s",
nm_connection_get_connection_type(connection));
}
return iface;