numam-spdk/examples
Nick Connolly bb19c18f6a examples: Use PRId64 for portability
POSIX defines PRId64/PRIu64/PRIx64 for printing 64-bit values in a
portable way. Replace a few references to %ld to remove the assumption
about the size of a long.

Where the value being printed is an unsigned 64-bit value, use PRIu64
instead of %ld.

Signed-off-by: Nick Connolly <nick.connolly@mayadata.io>
Change-Id: Ifa558522437f4922b922abf17712173cb5ca1184
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5134
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-11-20 11:01:11 +00:00
..
accel example/perf: Fix warning about scanbuild. 2020-10-27 08:42:32 +00:00
bdev example/bdev/hellow_word: Drop .ini config in favor of json 2020-10-23 13:47:23 +00:00
blob script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
interrupt_tgt vhost-blk: apply interrupt 2020-11-02 11:22:40 +00:00
ioat examples: Use PRId64 for portability 2020-11-20 11:01:11 +00:00
nvme examples: Use PRId64 for portability 2020-11-20 11:01:11 +00:00
nvmf nvmf: Eliminate spdk_nvmf_tgt_accept() 2020-09-21 07:55:54 +00:00
sock hello_sock: print new line after print usage 2020-11-06 08:11:12 +00:00
vmd lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
Makefile interrupt: add interrupt_tgt app 2020-10-23 16:23:48 +00:00