[ovs-dev] [PATCH] dpif-linux: Fix invalid format specifier.

Ethan Jackson ethan at nicira.com
Wed Jun 6 11:27:46 PDT 2012


I changed it to td and will merge shortly.

Ethan

On Wed, Jun 6, 2012 at 5:16 AM, Ben Pfaff <blp at nicira.com> wrote:
> On Tue, Jun 05, 2012 at 06:08:06PM -0700, Ethan Jackson wrote:
>> This fixes the following warning on my system. "format '%d' expects
>> argument of type 'int', but argument 5 has type 'long int'"
>>
>> Signed-off-by: Ethan Jackson <ethan at nicira.com>
>
> %td is the right format specified for ptrdiff_t, which might be "int" or
> "long int" depending on the implementation.



More information about the dev mailing list