From 59a1e28863c1b3529a6ca0c08c4db54307ed6bd8 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Thu, 11 Mar 2010 07:49:20 -0800 Subject: [PATCH] ofp-print: Cleanup typos in print OpenFlow Flow Stats Reply --- lib/ofp-print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 683fd987..f6425318 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -1000,10 +1000,10 @@ ofp_flow_stats_reply(struct ds *string, const void *body_, size_t len, break; } - ds_put_format(string, " cookie=%"PRIu64"s, ", ntohll(fs->cookie)); + ds_put_format(string, " cookie=%"PRIu64", ", ntohll(fs->cookie)); ds_put_format(string, "duration_sec=%"PRIu32"s, ", ntohl(fs->duration_sec)); - ds_put_format(string, "duration_nsec=%"PRIu32"s, ", + ds_put_format(string, "duration_nsec=%"PRIu32"ns, ", ntohl(fs->duration_nsec)); ds_put_format(string, "table_id=%"PRIu8", ", fs->table_id); ds_put_format(string, "priority=%"PRIu16", ", -- 2.30.2