aboutsummaryrefslogtreecommitdiffstats
path: root/src/sgsn/gprs_gmm_attach.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-12-01 13:23:53 +0100
committerlaforge <laforge@osmocom.org>2019-12-01 12:43:17 +0000
commita868e17c5ea726cd424dc393d56b321fae95bc72 (patch)
tree549cad3062184b5c5ca821e9d613f4dccbad86fe /src/sgsn/gprs_gmm_attach.c
parent1fd50d9abe024b6caf221a0ea67b555b31e42f8e (diff)
check for osmo_fsm_register() error return values
Diffstat (limited to 'src/sgsn/gprs_gmm_attach.c')
-rw-r--r--src/sgsn/gprs_gmm_attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sgsn/gprs_gmm_attach.c b/src/sgsn/gprs_gmm_attach.c
index 130f8d1c..c903a016 100644
--- a/src/sgsn/gprs_gmm_attach.c
+++ b/src/sgsn/gprs_gmm_attach.c
@@ -449,7 +449,7 @@ struct osmo_fsm gmm_attach_req_fsm = {
static __attribute__((constructor)) void gprs_gmm_fsm_init(void)
{
- osmo_fsm_register(&gmm_attach_req_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&gmm_attach_req_fsm) == 0);
}
void gmm_att_req_free(struct sgsn_mm_ctx *mm) {