aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/l1sap.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-08 13:48:01 +0100
committerMax <msuraev@sysmocom.de>2018-01-08 13:48:01 +0100
commitf28b660666e56b4f803ab97983b60615fb5e63ae (patch)
treefaa2f1e5bfd66ac2c156bbe91ded21230e8cdded /src/common/l1sap.c
parent1adfc52a72d5546d08d2acaa2a825ae0ff6cef14 (diff)
Print FN delta on L1 errors
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r--src/common/l1sap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 18aee935..30c2759e 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -458,8 +458,8 @@ static int l1sap_info_time_ind(struct gsm_bts *bts,
frames_expired = info_time_ind->fn - btsb->gsm_time.fn;
if (frames_expired > 1) {
LOGP(DL1P, LOGL_ERROR,
- "Invalid condition detected: Frame difference is %"PRIu32"-%"PRIu32" > 1!\n",
- info_time_ind->fn, btsb->gsm_time.fn);
+ "Invalid condition detected: Frame difference is %"PRIu32"-%"PRIu32"=%d > 1!\n",
+ info_time_ind->fn, btsb->gsm_time.fn, frames_expired);
}
/* Update our data structures with the current GSM time */