Messages in this thread | | | Date | Wed, 26 Mar 2014 14:46:13 -0400 (EDT) | Subject | Re: [PATCH] ixen-netback: fix trivial printf format build warning | From | David Miller <> |
| |
From: SeongJae Park <sj38.park@gmail.com> Date: Wed, 26 Mar 2014 19:34:21 +0900
> Thank you for let me know kindly :)
Also your fix wasn't correct.
You changed the code to use %lx but the type isn't a long.
It's the difference between two pointers, which is ptrdiff_t. The proper printf format string for a hexadecimal ptrdiff_t is %tx
| |