Doc: networking: txtimestamp: fix printf format warning
authorFrans Klaver <fransklaver@gmail.com>
Thu, 4 Jun 2015 19:27:38 +0000 (21:27 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 4 Jun 2015 22:59:10 +0000 (07:59 +0900)
commit03e8f01a67d6fc02fafc1b23394cc750fec290e1
tree88d13e77acd9310fb224ec79a1c7c01dbf500fea
parent1df1b3618d95f7a6668c1a8e749e1be96a7e3fe1
Doc: networking: txtimestamp: fix printf format warning

Documentation/networking/timestamping/txtimestamp.c: In function ‘__print_timestamp’:
Documentation/networking/timestamping/txtimestamp.c:99:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64_t’ [-Wformat=]
   fprintf(stderr, "  (%+ld us)", cur_ms - prev_ms);

int64_t differs per platform, so a type specifier that differs along
with it is required.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/networking/timestamping/txtimestamp.c