Skip to content
Commit 6c1e5978 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Cyrill Gorcunov
Browse files

hex_dump(): fix address printing



 - Fix printing the same address on every line (ie p+i, not p).
 - Use GNU %p to print pointer, to avoid messing with width etc.
   Side effect: 0x is added, hope that's ok.

Signed-off-by: default avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
parent a9ba9732
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment