aboutsummaryrefslogtreecommitdiffstats
path: root/sys/cam/nvme/nvme_da.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-12-13 21:17:00 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-12-13 21:17:00 +0000
commit4d4709520a21ed3b17e44f6a82d75fa15f146ef3 (patch)
tree74e31ccdfc9020e83e5c31f044d48998790d61e7 /sys/cam/nvme/nvme_da.c
parent5f28c51db6ca16e7e31dfd4ac6e69290b8477941 (diff)
downloadsrc-4d4709520a21ed3b17e44f6a82d75fa15f146ef3.tar.gz
src-4d4709520a21ed3b17e44f6a82d75fa15f146ef3.zip
Reduce size of several on-stack string buffers.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=326835
Diffstat (limited to 'sys/cam/nvme/nvme_da.c')
-rw-r--r--sys/cam/nvme/nvme_da.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/nvme/nvme_da.c b/sys/cam/nvme/nvme_da.c
index ebc6f0eb9536..5c3c89b4b32f 100644
--- a/sys/cam/nvme/nvme_da.c
+++ b/sys/cam/nvme/nvme_da.c
@@ -584,7 +584,7 @@ ndasysctlinit(void *context, int pending)
{
struct cam_periph *periph;
struct nda_softc *softc;
- char tmpstr[80], tmpstr2[80];
+ char tmpstr[32], tmpstr2[16];
periph = (struct cam_periph *)context;