l format modifier outputs garbage on 64 bit platforms
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 22 Apr 2009 10:43:39 +0000 (10:43 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 22 Apr 2009 10:43:39 +0000 (10:43 -0000)
src/charon/plugins/stroke/stroke_list.c

index 9c98770..066591c 100644 (file)
@@ -400,7 +400,7 @@ static void status(private_stroke_list_t *this, stroke_msg_t *msg, FILE *out, bo
                                first = FALSE;
                                fprintf(out, "Virtual IP pools (size/online/offline):\n");
                        }
-                       fprintf(out, "  %s: %lu/%lu/%lu\n", pool, size, online, offline);
+                       fprintf(out, "  %s: %u/%u/%u\n", pool, size, online, offline);
                }
                enumerator->destroy(enumerator);