aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-06-09 14:17:47 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-17 15:34:42 +0000
commitbc9c42663d17d0ef57a21c2c62b33ce07d40eb54 (patch)
tree58acaa835e0a972e8975c0f4e43bda7cae2a3610
parent8a75e60d0cbbe2e5adf093dc62aa886518727dfc (diff)
fix compiler warning: printf format for sizeof()
-rw-r--r--src/common/cbch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cbch.c b/src/common/cbch.c
index 75bcf28..e511c67 100644
--- a/src/common/cbch.c
+++ b/src/common/cbch.c
@@ -111,7 +111,7 @@ int bts_process_smscb_cmd(struct gsm_bts *bts,
if (msg_len > sizeof(scm->msg)) {
LOGP(DLSMS, LOGL_ERROR,
- "Cannot process SMSCB of %u bytes (max %lu)\n",
+ "Cannot process SMSCB of %u bytes (max %zu)\n",
msg_len, sizeof(scm->msg));
return -EINVAL;
}