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:
parent
25383bb59a
commit
30aa1312f7
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user