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.
This commit is contained in:
mav 2020-03-13 14:51:11 +00:00
parent 25383bb59a
commit 30aa1312f7
2 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ mprsas_log_command(struct mpr_command *cm, u_int level, const char *fmt, ...)
{
struct sbuf sb;
va_list ap;
char str[192];
char str[224];
char path_str[64];
if (cm == NULL)

View File

@ -305,7 +305,7 @@ mpssas_log_command(struct mps_command *cm, u_int level, const char *fmt, ...)
{
struct sbuf sb;
va_list ap;
char str[192];
char str[224];
char path_str[64];
if (cm == NULL)