numam-spdk/test/rpc_client
Darek Stojaczyk df9660df7b lib/event: fix printing non-null-terminated strings
%*s prints at least * characters and may add padding to the string.
%.*s prints at most * characters.

In a few places we used the first instead of the second and
printed some garbage to screen (in the best case...).

Change-Id: I97a862be61a5e43aa61e8230044dbd64a9db33bd
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1569
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-04-06 07:48:37 +00:00
..
.gitignore
Makefile build: move app rules to spdk.app.mk 2018-12-12 22:35:21 +00:00
rpc_client_test.c lib/event: fix printing non-null-terminated strings 2020-04-06 07:48:37 +00:00
rpc_client.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00