numam-dpdk/examples/vhost_scsi
Bruce Richardson f9acaf84e9 replace snprintf with strlcpy without adding extra include
For files that already have rte_string_fns.h included in them, we can
do a straight replacement of snprintf(..."%s",...) with strlcpy. The
changes in this patch were auto-generated via command:

spatch --sp-file devtools/cocci/strlcpy-with-header.cocci --dir . --in-place

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-04-04 22:45:54 +02:00
..
Makefile examples: detect default build directory 2019-03-30 01:12:15 +01:00
meson.build examples/vhost_scsi: disable build if missing dependency 2019-02-27 15:05:59 +01:00
scsi_spec.h examples/vhost_scsi: replace strncpy with strlcpy 2018-05-13 23:54:28 +02:00
scsi.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
vhost_scsi.c examples/vhost_scsi: move to safe GPA translation API 2018-04-23 17:12:13 +02:00
vhost_scsi.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00