Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2012 13:10:50 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239231 - head/sys/boot/common
Message-ID:  <201208131310.q7DDAoKq042356@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Mon Aug 13 13:10:50 2012
New Revision: 239231
URL: http://svn.freebsd.org/changeset/base/239231

Log:
  Remove colons from the debug message, device name returned by the
  disk_fmtdev() already has the colons.

Modified:
  head/sys/boot/common/disk.c

Modified: head/sys/boot/common/disk.c
==============================================================================
--- head/sys/boot/common/disk.c	Mon Aug 13 13:08:30 2012	(r239230)
+++ head/sys/boot/common/disk.c	Mon Aug 13 13:10:50 2012	(r239231)
@@ -162,7 +162,7 @@ disk_open(struct disk_devdesc *dev, off_
 	dev->d_opendata = od;
 	od->mediasize = mediasize;
 	od->sectorsize = sectorsize;
-	DEBUG("%s: unit %d, slice %d, partition %d",
+	DEBUG("%s unit %d, slice %d, partition %d",
 	    disk_fmtdev(dev), dev->d_unit, dev->d_slice, dev->d_partition);
 
 	/* Determine disk layout. */
@@ -217,9 +217,9 @@ out:
 		if (od->table != NULL)
 			ptable_close(od->table);
 		free(od);
-		DEBUG("%s: could not open", disk_fmtdev(dev));
+		DEBUG("%s could not open", disk_fmtdev(dev));
 	} else {
-		DEBUG("%s: offset %lld", disk_fmtdev(dev), dev->d_offset);
+		DEBUG("%s offset %lld", disk_fmtdev(dev), dev->d_offset);
 	}
 	return (rc);
 }
@@ -230,7 +230,7 @@ disk_close(struct disk_devdesc *dev)
 	struct open_disk *od;
 
 	od = (struct open_disk *)dev->d_opendata;
-	DEBUG("%s: closed", disk_fmtdev(dev));
+	DEBUG("%s closed", disk_fmtdev(dev));
 	ptable_close(od->table);
 	free(od);
 	return (0);



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