]> www.infradead.org Git - users/hch/nvme-cli.git/commit
Use asprintf for long names
authorKeith Busch <kbusch@kernel.org>
Tue, 7 Jan 2020 18:46:41 +0000 (11:46 -0700)
committerKeith Busch <kbusch@kernel.org>
Tue, 7 Jan 2020 18:46:41 +0000 (11:46 -0700)
commit27c30de2531cec5b58530446d355a6f9f707e25d
treeb6ab675c3902b84ac3682bd9c13ae54c4e5c2daf
parentfbd0511f62f4ce32404e81f3a95c65329c57c147
Use asprintf for long names

It's too easy to observe snprintf truncation warnings when using long
strings.

Signed-off-by: Keith Busch <kbusch@kernel.org>
plugins/wdc/wdc-nvme.c