examples/vhost_scsi: replace strncpy with strlcpy
authorReshma Pattan <reshma.pattan@intel.com>
Thu, 10 May 2018 12:05:44 +0000 (13:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 13 May 2018 21:54:28 +0000 (23:54 +0200)
commit21ce8e44b8d395dd90fd43d078b7894df48b6eee
treeb069f8e0541ead79c78dba50651902798d2fe418
parentae943ebe1ed3a0618129461a9d8396c917174f95
examples/vhost_scsi: replace strncpy with strlcpy

Use strlcpy instead of strncpy.

Fixes: db75c7af19 ("examples/vhost_scsi: introduce a new sample app")
Cc: stable@dpdk.org
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
examples/vhost_scsi/scsi.c
examples/vhost_scsi/scsi_spec.h