diff options
author | 2013-01-18 16:05:12 +0300 | |
---|---|---|
committer | 2013-02-13 11:27:31 -0800 | |
commit | 703d641d87034629f8b0da94334034ed5d805b36 (patch) | |
tree | 6697505c60330ca106b936797b01d1b793163424 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | target/rd: improve sg_table lookup scalability (diff) | |
download | linux-dev-703d641d87034629f8b0da94334034ed5d805b36.tar.xz linux-dev-703d641d87034629f8b0da94334034ed5d805b36.zip |
target: change sprintf to snprintf in transport_dump_vpd_ident
"buf" is 128 characters and "vpd->device_identifier" is 256. It makes
the static checkers complain.
Also bump VPD_TMP_BUF_SIZE to match INQUIRY_VPD_DEVICE_IDENTIFIER_LEN.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions