mirror of https://gerrit.osmocom.org/libosmocore
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
This commit is contained in:
parent
61d33925a0
commit
da73aa640e
|
@ -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",
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue