aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-10-28 10:01:21 +0100
committerHarald Welte <laforge@gnumonks.org>2012-10-28 10:01:21 +0100
commit5705cfaebcb5c06e3bf9c4a0d1946e09add43043 (patch)
treee4f120127d19ab1682a9d9bcb9714b3a5cd6f2cd /src
parentc3646a80a7167e02c273220d53b65fedcd0d05dc (diff)
properly display the header file versions
Diffstat (limited to 'src')
-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)