Spdk/lib/bdev
Daniel Verkamp cdc332d178 bdev/nvme: fix vendor_id formatting
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>
2016-12-07 13:36:37 -07:00
..
aio log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
malloc copy_engine: rename spdk_copy_module_get_max_ctx_size() to spdk_copy_task_size() 2016-11-16 15:04:40 -07:00
nvme bdev/nvme: fix vendor_id formatting 2016-12-07 13:36:37 -07:00
rbd log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
rpc bdev/rpc: add driver-specific data to get_bdevs 2016-11-21 12:35:57 -07:00
bdev_module.h bdev/rpc: add driver-specific data to get_bdevs 2016-11-21 12:35:57 -07:00
bdev.c bdev/rpc: add driver-specific data to get_bdevs 2016-11-21 12:35:57 -07:00
Makefile bdev: add get_bdevs RPC 2016-11-02 09:10:54 -07:00