aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-sysmo/l1_if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 97b20527..8bc7a28a 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -1153,8 +1153,9 @@ struct femtol1_hdl *l1if_open(void *priv)
int rc;
LOGP(DL1C, LOGL_INFO, "sysmoBTS L1IF compiled against API headers "
- "v%u.%u.%u\n", SUPERFEMTO_API_VERSION >> 16,
- SUPERFEMTO_API_VERSION >> 8, SUPERFEMTO_API_VERSION);
+ "v%u.%u.%u\n", SUPERFEMTO_API_VERSION >> 16,
+ (SUPERFEMTO_API_VERSION >> 8) & 0xff,
+ SUPERFEMTO_API_VERSION & 0xff);
fl1h = talloc_zero(priv, struct femtol1_hdl);
if (!fl1h)