Oops, thanks for finding this. I'm on vacation but I hope that someone will
apply this soon.
On Nov 27, 2013 12:26 AM, "YAMAMOTO Takashi" <[email protected]> wrote:
> revert a mistake in commit 34582733.
> ("Avoid printf type modifiers not supported by MSVC C runtime library.")
>
> Signed-off-by: YAMAMOTO Takashi <[email protected]>
> ---
> lib/util.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/util.c b/lib/util.c
> index faa2cab..53c3849 100644
> --- a/lib/util.c
> +++ b/lib/util.c
> @@ -346,7 +346,7 @@ ovs_strerror(int error)
> * is too short). We don't check the actual failure reason
> because
> * POSIX requires strerror_r() to return the error but old glibc
> * (before 2.13) returns -1 and sets errno. */
> - snprintf(buffer, BUFSIZE, "Unknown error %"PRIuSIZE, error);
> + snprintf(buffer, BUFSIZE, "Unknown error %d", error);
> }
> #endif
>
> --
> 1.8.3.1
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev