Commit 4ae9931d authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

[NET]: Fix sprintf type warnings on 64-bit in pktgen.c

Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 69334949
......@@ -603,7 +603,7 @@ static void show_results(struct pktgen_info* info, int nr_frags)
do_div(idle, cpu_speed);
p += sprintf(p, "OK: %llu(c%llu+d%lu) usec, %llu (%dbyte,%dfrags)\n",
total, total - idle, idle,
total, (unsigned long long)(total - idle), idle,
info->sofar, size, nr_frags);
pps = info->sofar * USEC_PER_SEC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment