The printf # specifier adds 0x for %x values, but the field width then includes the 0x part, so for example printf("%#04x", 0x1) prints "0x01" rather than the intended "0x0001". Rather than increasing the field width, just manually insert the 0x in the format string and drop # for less confusion. Change-Id: Ie6044619a22b51b39562bfa5c0c0239933bf38c8 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
aio | ||
malloc | ||
nvme | ||
rbd | ||
rpc | ||
bdev_module.h | ||
bdev.c | ||
Makefile |