aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/libbsc/bts_hsl_femtocell.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/bts_hsl_femtocell.c b/openbsc/src/libbsc/bts_hsl_femtocell.c
index 218724575..1ce3eaaa1 100644
--- a/openbsc/src/libbsc/bts_hsl_femtocell.c
+++ b/openbsc/src/libbsc/bts_hsl_femtocell.c
@@ -20,6 +20,7 @@
*
*/
+#include <inttypes.h>
#include <arpa/inet.h>
@@ -204,10 +205,10 @@ hsl_sign_link_up(void *unit_data, struct e1inp_line *line,
bts = find_bts_by_serno(hsl_gsmnet, dev->serno);
if (!bts) {
LOGP(DLINP, LOGL_ERROR, "Unable to find BTS config for "
- "serial number %lx\n", dev->serno);
+ "serial number %"PRIx64"\n", dev->serno);
return NULL;
}
- DEBUGP(DLINP, "Identified HSL BTS Serial Number %lx\n", dev->serno);
+ DEBUGP(DLINP, "Identified HSL BTS Serial Number %"PRIx64"\n", dev->serno);
/* we shouldn't hardcode it, but HSL femto also hardcodes it... */
bts->oml_tei = 255;