numam-spdk/app
Sergei Trofimovich a3b62f8bc1 spdk_top: always use "%s"-style format for printf()-style functions
`ncuses-6.3` added printf-style function attributes and now makes
it easier to catch cases when user input is used in palce of format
string when built with CFLAGS=-Werror=format-security:

    spdk_top.c:1135:34: error: format not a string literal and no format arguments [-Werror=format-security]
     1135 |         mvwprintw(win, row, col, tmp_str);
          |                                  ^~~~~~~

Let's wrap all the missing places with "%s" format.

Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
Change-Id: I84227668ff698ae2f327a7fb5d87ce0a407ab50d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10300
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-11-30 20:07:56 +00:00
..
iscsi_tgt net: Remove library 2021-07-13 08:57:58 +00:00
iscsi_top build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvmf_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
spdk_dd spelling: app 2021-11-30 09:04:05 +00:00
spdk_lspci mk: Fix mlx5_dv linkage 2020-12-28 13:21:36 +00:00
spdk_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
spdk_top spdk_top: always use "%s"-style format for printf()-style functions 2021-11-30 20:07:56 +00:00
trace app/trace: include relation information while printing json 2021-10-21 17:57:33 +00:00
trace_record app/trace_record: modify help case to return 0 2021-02-26 11:50:58 +00:00
vhost event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
Makefile app: exclude spdk_top from mingw cross builds 2021-03-03 08:16:54 +00:00