svn commit: r254954 - head/sbin/camcontrol

Alexander Motin mav at FreeBSD.org
Tue Aug 27 06:50:46 UTC 2013


Author: mav
Date: Tue Aug 27 06:50:46 2013
New Revision: 254954
URL: http://svnweb.freebsd.org/changeset/base/254954

Log:
  Add missing newlines to Fibre Channel attributes output.

Modified:
  head/sbin/camcontrol/camcontrol.c

Modified: head/sbin/camcontrol/camcontrol.c
==============================================================================
--- head/sbin/camcontrol/camcontrol.c	Tue Aug 27 06:31:50 2013	(r254953)
+++ head/sbin/camcontrol/camcontrol.c	Tue Aug 27 06:50:46 2013	(r254954)
@@ -4488,13 +4488,13 @@ cts_print(struct cam_device *device, str
 		    &cts->xport_specific.fc;
 
 		if (fc->valid & CTS_FC_VALID_WWNN)
-			fprintf(stdout, "%sWWNN: 0x%llx", pathstr,
+			fprintf(stdout, "%sWWNN: 0x%llx\n", pathstr,
 			    (long long) fc->wwnn);
 		if (fc->valid & CTS_FC_VALID_WWPN)
-			fprintf(stdout, "%sWWPN: 0x%llx", pathstr,
+			fprintf(stdout, "%sWWPN: 0x%llx\n", pathstr,
 			    (long long) fc->wwpn);
 		if (fc->valid & CTS_FC_VALID_PORT)
-			fprintf(stdout, "%sPortID: 0x%x", pathstr, fc->port);
+			fprintf(stdout, "%sPortID: 0x%x\n", pathstr, fc->port);
 		if (fc->valid & CTS_FC_VALID_SPEED)
 			fprintf(stdout, "%stransfer speed: %d.%03dMB/s\n",
 			    pathstr, fc->bitrate / 1000, fc->bitrate % 1000);


More information about the svn-src-all mailing list