summaryrefslogtreecommitdiff
path: root/tests/test-reconnect.c
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-03-10 10:21:13 -0800
committerEthan Jackson <ethan@nicira.com>2011-03-10 10:26:13 -0800
commitc366e0cc25c40878110868a94b0c06500516368b (patch)
tree83b90ea3cf07a0046cfa43c0d733984ff8751586 /tests/test-reconnect.c
parenteba18f0044cbe3654b4c796bbe7c056ca1793c70 (diff)
downloadopenvswitch-c366e0cc25c40878110868a94b0c06500516368b.tar.gz
reconnect: Fix printf() format warning.
tests/test-reconnect.c:245:9: error: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'unsigned int'
Diffstat (limited to 'tests/test-reconnect.c')
-rw-r--r--tests/test-reconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-reconnect.c b/tests/test-reconnect.c
index 2d654ff8a..a519d3524 100644
--- a/tests/test-reconnect.c
+++ b/tests/test-reconnect.c
@@ -242,7 +242,7 @@ diff_stats(const struct reconnect_stats *old,
new->last_disconnected, new->current_disconnect_duration);
}
if (old->current_disconnect_duration != new->current_disconnect_duration) {
- printf(" disconnected for %llu ms\n", new->current_disconnect_duration);
+ printf(" disconnected for %u ms\n", new->current_disconnect_duration);
}
}