fixed 64 bit printf() issue

This commit is contained in:
Andreas Steffen 2010-10-24 20:30:19 +02:00
parent 4915ea8217
commit 9b9352c83b
1 changed files with 1 additions and 1 deletions

View File

@ -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))