perf-counter: Fix 32-bit build break due to incorrect printf specifiers.
authorBen Pfaff <blp@nicira.com>
Tue, 14 Apr 2015 20:47:19 +0000 (13:47 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 14 Apr 2015 20:50:41 +0000 (13:50 -0700)
commitf084224a88aff7bb3ce15319874592a2d240ede6
treeceb55aca7a9f660991be66ab860a8e89ee06f2bd
parent0ef3258d6098012e4f2ebb78e979c24357f1c276
perf-counter: Fix 32-bit build break due to incorrect printf specifiers.

Fixes the following warnings from GCC on 32-bit architectures:

    ../lib/perf-counter.c: In function 'perf_counter_to_ds':
    ../lib/perf-counter.c:119:19: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' [-Werror=format]
    ../lib/perf-counter.c:119:19: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' [-Werror=format]

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
lib/perf-counter.c