Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 20:18:03 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312830 - head/sys/cam
Message-ID:  <201701262018.v0QKI3PF085546@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701262018.v0QKI3PF085546>