From owner-svn-src-all@FreeBSD.ORG Mon Aug 13 13:10:51 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E9E8106564A; Mon, 13 Aug 2012 13:10:51 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 385708FC08; Mon, 13 Aug 2012 13:10:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7DDApZS042358; Mon, 13 Aug 2012 13:10:51 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7DDAoKq042356; Mon, 13 Aug 2012 13:10:50 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201208131310.q7DDAoKq042356@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Mon, 13 Aug 2012 13:10:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r239231 - head/sys/boot/common X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 13:10:51 -0000 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);