diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-11-30 12:19:50 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-03 11:43:57 +0100 |
commit | 085500807c3a66e4d6e0a6a2d6516b2a4a13e69c (patch) | |
tree | a9eeba9c989e6581ad6b21ddd22de49abd48970e /openbsc/src/gprs/gtphub_main.c | |
parent | ff4b630de9b8cb760e3d30861fda807f708351d9 (diff) |
gtphub: fix some style complaints from cppcheck
Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/src/gprs/gtphub_main.c')
-rw-r--r-- | openbsc/src/gprs/gtphub_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gtphub_main.c b/openbsc/src/gprs/gtphub_main.c index a330b9d39..0a7d383be 100644 --- a/openbsc/src/gprs/gtphub_main.c +++ b/openbsc/src/gprs/gtphub_main.c @@ -82,9 +82,9 @@ static const struct log_info gtphub_log_info = { void log_cfg(struct gtphub_cfg *cfg) { - struct gtphub_cfg_addr *a; int side_idx, plane_idx; for_each_side_and_plane(side_idx, plane_idx) { + struct gtphub_cfg_addr *a; a = &cfg->to_gsns[side_idx][plane_idx].bind; LOGP(DGTPHUB, LOGL_NOTICE, "to-%ss bind, %s: %s port %d\n", @@ -96,7 +96,7 @@ void log_cfg(struct gtphub_cfg *cfg) static void signal_handler(int signal) { - fprintf(stdout, "signal %u received\n", signal); + fprintf(stdout, "signal %d received\n", signal); switch (signal) { case SIGINT: |