libnm: fix error prefix in NMSettingGsm:verify()

This commit is contained in:
Thomas Haller 2015-03-17 11:46:18 +01:00
parent f52e6bbdda
commit d198618aa7
2 changed files with 2 additions and 2 deletions

View file

@ -290,7 +290,7 @@ verify (NMSetting *setting, NMConnection *connection, GError **error)
NM_CONNECTION_ERROR,
NM_CONNECTION_ERROR_INVALID_PROPERTY,
_("property is empty"));
g_prefix_error (error, "%s.%s: ", NM_SETTING_GSM_SETTING_NAME, NM_SETTING_GSM_USERNAME);
g_prefix_error (error, "%s.%s: ", NM_SETTING_GSM_SETTING_NAME, NM_SETTING_GSM_PASSWORD);
return FALSE;
}

View file

@ -347,7 +347,7 @@ verify (NMSetting *setting, GSList *all_settings, GError **error)
NM_SETTING_GSM_ERROR,
NM_SETTING_GSM_ERROR_INVALID_PROPERTY,
_("property is empty"));
g_prefix_error (error, "%s.%s: ", NM_SETTING_GSM_SETTING_NAME, NM_SETTING_GSM_USERNAME);
g_prefix_error (error, "%s.%s: ", NM_SETTING_GSM_SETTING_NAME, NM_SETTING_GSM_PASSWORD);
return FALSE;
}