fixed 64 bit printf() issue
This commit is contained in:
1 parent
4915ea8217
commit
9b9352c83b
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user