summaryrefslogtreecommitdiff
path: root/accel-pppd/radius
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2012-09-04 20:29:18 +0200
committerKozlov Dmitry <xeb@mail.ru>2012-09-05 22:35:48 +0400
commitb4eec284b0814c01c575492af73dbe23ff81f5e8 (patch)
treed0bb188f1cd694f773b0cf26e00f4e2205311951 /accel-pppd/radius
parentfdeeb6f8547617a0478ffe847b76c46fa45487d0 (diff)
downloadaccel-ppp-b4eec284b0814c01c575492af73dbe23ff81f5e8.tar.gz
accel-ppp-b4eec284b0814c01c575492af73dbe23ff81f5e8.zip
Fix format string errors
Fix several errors and compiler warnings in format string arguments. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r--accel-pppd/radius/serv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/radius/serv.c b/accel-pppd/radius/serv.c
index f40725b9..ff354e54 100644
--- a/accel-pppd/radius/serv.c
+++ b/accel-pppd/radius/serv.c
@@ -237,8 +237,8 @@ static void show_stat(struct rad_server_t *s, void *client)
cli_sendv(client, " fail count: %lu\r\n", s->stat_fail_cnt);
}
- cli_sendv(client, " request count: %lu\r\n", s->req_cnt);
- cli_sendv(client, " queue length: %lu\r\n", s->queue_cnt);
+ cli_sendv(client, " request count: %i\r\n", s->req_cnt);
+ cli_sendv(client, " queue length: %i\r\n", s->queue_cnt);
if (s->auth_port) {
cli_sendv(client, " auth sent: %lu\r\n", s->stat_auth_sent);