libnm-core: remove trailing quote from message in nm-setting-macvlan.c

Reported-by: Anders Jonsson <anders.jonsson@norsjovallen.se>
This commit is contained in:
Beniamino Galvani 2016-03-30 00:26:21 +02:00
parent 299ef26c39
commit b717c5503b

View file

@ -189,12 +189,11 @@ verify (NMSetting *setting, NMConnection *connection, GError **error)
g_set_error_literal (error,
NM_CONNECTION_ERROR,
NM_CONNECTION_ERROR_INVALID_PROPERTY,
_("non promiscuous operation is allowed only in passthru mode'"));
_("non promiscuous operation is allowed only in passthru mode"));
g_prefix_error (error, "%s.%s: ",
NM_SETTING_MACVLAN_SETTING_NAME,
NM_SETTING_MACVLAN_PROMISCUOUS);
return FALSE;
}
return TRUE;