aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/cinterion/mm-modem-helpers-cinterion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cinterion/mm-modem-helpers-cinterion.c b/src/plugins/cinterion/mm-modem-helpers-cinterion.c
index 34116ac3..e429cbc1 100644
--- a/src/plugins/cinterion/mm-modem-helpers-cinterion.c
+++ b/src/plugins/cinterion/mm-modem-helpers-cinterion.c
@@ -571,8 +571,8 @@ mm_cinterion_parse_scfg_sim_response (const gchar *response,
}
if (!mm_get_uint_from_match_info (match_info, 1, active_slot)) {
- g_prefix_error (&inner_error, "Could not parse SIM slot index: ");
- g_propagate_error (error, inner_error);
+ g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
+ "Could not parse SIM slot index in ^SCFG response");
return FALSE;
}