[ovs-dev] [PATCH] dpif-netdev: Use "%"PRIuSIZE, not "%lu", for size_t.

Daniele Di Proietto diproiettod at ovn.org
Sat Aug 13 00:58:51 UTC 2016


I just applied the same fix, sorry for breaking it

Daniele

2016-08-12 17:52 GMT-07:00 Ben Pfaff <blp at ovn.org>:

> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---
>  lib/dpif-netdev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
> index c1564bd..96504f5 100644
> --- a/lib/dpif-netdev.c
> +++ b/lib/dpif-netdev.c
> @@ -4911,7 +4911,7 @@ dpcls_create_subtable(struct dpcls *cls, const
> struct netdev_flow_key *mask)
>      cmap_insert(&cls->subtables_map, &subtable->cmap_node, mask->hash);
>      /* Add the new subtable at the end of the pvector (with no hits yet)
> */
>      pvector_insert(&cls->subtables, subtable, 0);
> -    VLOG_DBG("Creating %lu. subtable %p for in_port %d",
> +    VLOG_DBG("Creating %"PRIuSIZE". subtable %p for in_port %d",
>               cmap_count(&cls->subtables_map), subtable, cls->in_port);
>      pvector_publish(&cls->subtables);
>
> --
> 2.1.3
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>



More information about the dev mailing list