projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eba18f0
)
reconnect: Fix printf() format warning.
author
Ethan Jackson
<ethan@nicira.com>
Thu, 10 Mar 2011 18:21:13 +0000
(10:21 -0800)
committer
Ethan Jackson
<ethan@nicira.com>
Thu, 10 Mar 2011 18:26:13 +0000
(10:26 -0800)
tests/test-reconnect.c:245:9: error: format '%llu' expects type
'long long unsigned int', but argument 2 has type 'unsigned int'
tests/test-reconnect.c
patch
|
blob
|
history
diff --git
a/tests/test-reconnect.c
b/tests/test-reconnect.c
index 2d654ff8a72499214e26e2aae16cd02b612cf8ce..a519d3524dbac3e4a578800e561e19f12d4d02ae 100644
(file)
--- 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 %
ll
u ms\n", new->current_disconnect_duration);
+ printf(" disconnected for %u ms\n", new->current_disconnect_duration);
}
}