Fix a development mis-merge from r312827

Sponsored by:	Netflix
This commit is contained in:
Scott Long 2017-01-26 20:18:03 +00:00
parent ab3e89f1ab
commit a136ca542c

View File

@ -3727,9 +3727,9 @@ xpt_print(struct cam_path *path, const char *fmt, ...)
{
va_list ap;
struct sbuf sb;
char buffer[XPT_PRINT_MAXLEN];
char buffer[XPT_PRINT_LEN];
sbuf_new(&sb, buffer, XPT_PRINT_MAXLEN, SBUF_FIXEDLEN);
sbuf_new(&sb, buffer, XPT_PRINT_LEN, SBUF_FIXEDLEN);
xpt_path_sbuf(path, &sb);
va_start(ap, fmt);