aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-23 08:51:22 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-23 08:51:22 +0200
commitda73aa640e8dc22a199d651b44d45e2569a6f9b1 (patch)
treeefcd581b537c2561d453b335c2b936070949a13d
parent61d33925a02b187bcab88d391bd5b037c9cc1059 (diff)
gsm0411_smr: Fix the size of the array
The code is lacking a "," at the end of a string and we ended up doing string concatination instead of having an invalid state. Fixes Coverity CID 1206564
-rw-r--r--src/gsm/gsm0411_smr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/gsm0411_smr.c b/src/gsm/gsm0411_smr.c
index a7e9d241..eb1f0364 100644
--- a/src/gsm/gsm0411_smr.c
+++ b/src/gsm/gsm0411_smr.c
@@ -97,7 +97,7 @@ void gsm411_smr_clear(struct gsm411_smr_inst *inst)
static const char *smr_state_names[] = {
"IDLE",
"WAIT_FOR_RP_ACK",
- "illegal state 2"
+ "illegal state 2",
"WAIT_TO_TX_RP_ACK",
"WAIT_FOR_RETRANS_T",
};