Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipmr: Fix ptrdiff_t print formatting
ipmr_vif_seq_show() prints the difference between two pointers with the format string %2zd (z for size_t), however the correct format string is %2td instead (t for ptrdiff_t). The same bug in ip6mr_vif_seq_show() was already fixed long ago by commit d430a22 ("bogus format in ip6mr"). Signed-off-by: James Hogan <[email protected]> Cc: Alexey Kuznetsov <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Hideaki YOSHIFUJI <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
- Loading branch information