diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-10-28 10:01:21 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-10-28 10:01:21 +0100 |
commit | 5705cfaebcb5c06e3bf9c4a0d1946e09add43043 (patch) | |
tree | e4f120127d19ab1682a9d9bcb9714b3a5cd6f2cd | |
parent | c3646a80a7167e02c273220d53b65fedcd0d05dc (diff) |
properly display the header file versions
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.c | 5 |
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) |