svn commit: r312830 - head/sys/cam

Scott Long scottl at FreeBSD.org
Thu Jan 26 20:18:04 UTC 2017


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);


More information about the svn-src-all mailing list