aboutsummaryrefslogtreecommitdiffstats
path: root/src/sgsn
diff options
context:
space:
mode:
Diffstat (limited to 'src/sgsn')
-rw-r--r--src/sgsn/gprs_gmm_attach.c2
-rw-r--r--src/sgsn/gprs_gmm_fsm.c2
-rw-r--r--src/sgsn/gprs_mm_state_gb_fsm.c2
-rw-r--r--src/sgsn/gprs_mm_state_iu_fsm.c2
4 files changed, 4 insertions, 4 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) {
diff --git a/src/sgsn/gprs_gmm_fsm.c b/src/sgsn/gprs_gmm_fsm.c
index fac06f27..94ecb50e 100644
--- a/src/sgsn/gprs_gmm_fsm.c
+++ b/src/sgsn/gprs_gmm_fsm.c
@@ -183,5 +183,5 @@ struct osmo_fsm gmm_fsm = {
static __attribute__((constructor)) void gmm_fsm_init(void)
{
- osmo_fsm_register(&gmm_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&gmm_fsm) == 0);
}
diff --git a/src/sgsn/gprs_mm_state_gb_fsm.c b/src/sgsn/gprs_mm_state_gb_fsm.c
index f6d680c5..811f0c2f 100644
--- a/src/sgsn/gprs_mm_state_gb_fsm.c
+++ b/src/sgsn/gprs_mm_state_gb_fsm.c
@@ -125,5 +125,5 @@ struct osmo_fsm mm_state_gb_fsm = {
static __attribute__((constructor)) void mm_state_gb_fsm_init(void)
{
- osmo_fsm_register(&mm_state_gb_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&mm_state_gb_fsm) == 0);
}
diff --git a/src/sgsn/gprs_mm_state_iu_fsm.c b/src/sgsn/gprs_mm_state_iu_fsm.c
index ea319417..e571026c 100644
--- a/src/sgsn/gprs_mm_state_iu_fsm.c
+++ b/src/sgsn/gprs_mm_state_iu_fsm.c
@@ -146,5 +146,5 @@ struct osmo_fsm mm_state_iu_fsm = {
static __attribute__((constructor)) void mm_state_iu_fsm_init(void)
{
- osmo_fsm_register(&mm_state_iu_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&mm_state_iu_fsm) == 0);
}