aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-10-24 20:30:19 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-10-24 20:30:19 +0200
commit9b9352c83b7a5172e540c7f3e07505ca88a5c93f (patch)
tree480bd6c80d4cdc516469ca46af4a60c4cda87310 /src
parent4915ea8217a4e48156e6cdaad23e992d6839fdf3 (diff)
downloadstrongswan-9b9352c83b7a5172e540c7f3e07505ca88a5c93f.tar.bz2
strongswan-9b9352c83b7a5172e540c7f3e07505ca88a5c93f.tar.xz
fixed 64 bit printf() issue
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/plugins/stroke/stroke_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_list.c b/src/libcharon/plugins/stroke/stroke_list.c
index de822f49b..86deea490 100644
--- a/src/libcharon/plugins/stroke/stroke_list.c
+++ b/src/libcharon/plugins/stroke/stroke_list.c
@@ -1205,7 +1205,7 @@ static void pool_leases(private_stroke_list_t *this, FILE *out, char *pool,
bool on;
int found = 0;
- fprintf(out, "Leases in pool '%s', usage: %lu/%lu, %lu online\n",
+ fprintf(out, "Leases in pool '%s', usage: %u/%u, %u online\n",
pool, online + offline, size, online);
enumerator = this->attribute->create_lease_enumerator(this->attribute, pool);
while (enumerator && enumerator->enumerate(enumerator, &id, &lease, &on))