Spdk/lib/bdev/nvme
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
..
blockdev_nvme_rpc.c log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
blockdev_nvme.c bdev/nvme: fix vendor_id formatting 2016-12-07 13:36:37 -07:00
blockdev_nvme.h bdev: make construct RPCs return the bdev names 2016-10-31 11:17:46 -07:00
Makefile bdev: Add rpc interface for nvme 2016-10-14 01:54:13 +08:00