Author: scottl
Date: Thu Jan 26 20:18:03 2017
New Revision: 312830
URL: https://svnweb.freebsd.org/changeset/base/312830

Log:
  Fix a development mis-merge from r312827
  
  Sponsored by: Netflix

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c      Thu Jan 26 20:15:14 2017        (r312829)
+++ head/sys/cam/cam_xpt.c      Thu Jan 26 20:18:03 2017        (r312830)
@@ -3727,9 +3727,9 @@ xpt_print(struct cam_path *path, const c
 {
        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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to