svn commit: r358959 - in head/sys/dev: mpr mps
Alexander Motin
mav at FreeBSD.org
Fri Mar 13 14:51:13 UTC 2020
Author: mav
Date: Fri Mar 13 14:51:11 2020
New Revision: 358959
URL: https://svnweb.freebsd.org/changeset/base/358959
Log:
Increase buffer in mprsas_log_command() from 192 to 224 bytes.
192 bytes are not enough to print long commands, such as ATA COMMAND PASS
THROUGH(16), that makes debug output difficult to read.
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Modified:
head/sys/dev/mpr/mpr_sas.c
head/sys/dev/mps/mps_sas.c
Modified: head/sys/dev/mpr/mpr_sas.c
==============================================================================
--- head/sys/dev/mpr/mpr_sas.c Fri Mar 13 13:45:27 2020 (r358958)
+++ head/sys/dev/mpr/mpr_sas.c Fri Mar 13 14:51:11 2020 (r358959)
@@ -308,7 +308,7 @@ mprsas_log_command(struct mpr_command *cm, u_int level
{
struct sbuf sb;
va_list ap;
- char str[192];
+ char str[224];
char path_str[64];
if (cm == NULL)
Modified: head/sys/dev/mps/mps_sas.c
==============================================================================
--- head/sys/dev/mps/mps_sas.c Fri Mar 13 13:45:27 2020 (r358958)
+++ head/sys/dev/mps/mps_sas.c Fri Mar 13 14:51:11 2020 (r358959)
@@ -305,7 +305,7 @@ mpssas_log_command(struct mps_command *cm, u_int level
{
struct sbuf sb;
va_list ap;
- char str[192];
+ char str[224];
char path_str[64];
if (cm == NULL)
More information about the svn-src-head
mailing list