• Dmitry Safonov's avatar
    criu-print: use %# to print hex values w/ width specified · fa437b65
    Dmitry Safonov authored
    If we print "0x" with width specifier, it may go away which is not nice:
    (00.005258) 21858 fdinfo 0: pos: 0x               0 flags:           100002/0
    (00.004589)     Collected: ino 0x    51fd family    2 type    1 port    64000 state 10 src_addr 0.0.0.0
    
    This patch is generated with the following sed one-liner:
    find ./* -type f -print0 | xargs -0 sed -i '/pr.*/s/0x%\([0-9]\+\)/%#\1/g'
    
    Don't know if we should change all 0x%*anything* printing to %#*anything*,
    but where we use field width I think we should.
    
    Impact: Just bothered by eyes, cleanup.
    Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    fa437b65
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...