diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-06-09 14:17:47 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-06-17 15:34:42 +0000 |
commit | bc9c42663d17d0ef57a21c2c62b33ce07d40eb54 (patch) | |
tree | 58acaa835e0a972e8975c0f4e43bda7cae2a3610 | |
parent | 8a75e60d0cbbe2e5adf093dc62aa886518727dfc (diff) |
fix compiler warning: printf format for sizeof()
Change-Id: Id600c5a34ab261736f7595ab2e36e3a30d434175
-rw-r--r-- | src/common/cbch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cbch.c b/src/common/cbch.c index 75bcf281..e511c674 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; } |