libnm: fix error prefix in NMSettingGsm:verify()
This commit is contained in:
@@ -290,7 +290,7 @@ verify (NMSetting *setting, NMConnection *connection, GError **error)
|
|||||||
NM_CONNECTION_ERROR,
|
NM_CONNECTION_ERROR,
|
||||||
NM_CONNECTION_ERROR_INVALID_PROPERTY,
|
NM_CONNECTION_ERROR_INVALID_PROPERTY,
|
||||||
_("property is empty"));
|
_("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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -347,7 +347,7 @@ verify (NMSetting *setting, GSList *all_settings, GError **error)
|
|||||||
NM_SETTING_GSM_ERROR,
|
NM_SETTING_GSM_ERROR,
|
||||||
NM_SETTING_GSM_ERROR_INVALID_PROPERTY,
|
NM_SETTING_GSM_ERROR_INVALID_PROPERTY,
|
||||||
_("property is empty"));
|
_("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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user