From: Justin Pettit Date: Thu, 11 Mar 2010 15:49:20 +0000 (-0800) Subject: ofp-print: Cleanup typos in print OpenFlow Flow Stats Reply X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a1e28863c1b3529a6ca0c08c4db54307ed6bd8;p=openvswitch ofp-print: Cleanup typos in print OpenFlow Flow Stats Reply --- 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", ",