diff options
author | ae <ae@FreeBSD.org> | 2012-08-13 13:10:50 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2012-08-13 13:10:50 +0000 |
commit | 258bfae1c8a4096870bd7c23c3dbe5176105ab24 (patch) | |
tree | bedb915d88c4cf691ef5200bfa8268cb290e17fd /sys/boot/common | |
parent | 7244c0647c73c1d518983c079a15b50aff02c38e (diff) | |
download | FreeBSD-src-258bfae1c8a4096870bd7c23c3dbe5176105ab24.zip FreeBSD-src-258bfae1c8a4096870bd7c23c3dbe5176105ab24.tar.gz |
Remove colons from the debug message, device name returned by the
disk_fmtdev() already has the colons.
Diffstat (limited to 'sys/boot/common')
-rw-r--r-- | sys/boot/common/disk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/common/disk.c b/sys/boot/common/disk.c index 0ad9e37..a58eadf 100644 --- a/sys/boot/common/disk.c +++ b/sys/boot/common/disk.c @@ -162,7 +162,7 @@ disk_open(struct disk_devdesc *dev, off_t mediasize, u_int sectorsize) 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); |