From 71113253111f382dea22420e9966b7a443514a51 Mon Sep 17 00:00:00 2001 From: Zhenhua Zhang Date: Fri, 23 Apr 2010 10:01:40 +0800 Subject: [PATCH] Fix a typo in telephony_error_to_str --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;