summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 72eaf1e1..4eaff5e9 100644
--- a/src/common.c
+++ b/src/common.c
@@ -273,7 +273,7 @@ const char *telephony_error_to_str(const struct ofono_error *error)
break;
case OFONO_ERROR_TYPE_CMS:
e = cms_errors;
- maxentries = sizeof(cme_errors) / sizeof(struct error_entry);
+ maxentries = sizeof(cms_errors) / sizeof(struct error_entry);
break;
case OFONO_ERROR_TYPE_CEER:
e = ceer_errors;