aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2009-12-24 12:19:52 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2009-12-24 12:19:52 +0000
commit2fce833cd1469a5ca7f6b33313fde682eaed75e5 (patch)
treeaa86011ed3dc04da1d7b70a96ed5669033278df9 /sys/boot
parent85f5f3b435dd7ed3b5a1ba97cd70ac692354c353 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/libi386/biosdisk.c8
-rw-r--r--sys/boot/pc98/libpc98/biosdisk.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c
index 7e1fa19369d0..cf0b03353ea7 100644
--- a/sys/boot/i386/libi386/biosdisk.c
+++ b/sys/boot/i386/libi386/biosdisk.c
@@ -1266,11 +1266,11 @@ bd_io(struct open_disk *od, daddr_t dblk, int blks, caddr_t dest, int write)
}
if (write)
- DEBUG("%d sectors from %lld to %p (0x%x) %s", x, dblk, p, VTOP(p),
- result ? "failed" : "ok");
+ DEBUG("Write %d sector(s) from %p (0x%x) to %lld %s", x,
+ p, VTOP(p), dblk, result ? "failed" : "ok");
else
- DEBUG("%d sectors from %p (0x%x) to %lld %s", x, p, VTOP(p), dblk,
- result ? "failed" : "ok");
+ DEBUG("Read %d sector(s) from %lld to %p (0x%x) %s", x,
+ dblk, p, VTOP(p), result ? "failed" : "ok");
if (result) {
return(-1);
}
diff --git a/sys/boot/pc98/libpc98/biosdisk.c b/sys/boot/pc98/libpc98/biosdisk.c
index 2f18285a50d2..c2e7d6618cd3 100644
--- a/sys/boot/pc98/libpc98/biosdisk.c
+++ b/sys/boot/pc98/libpc98/biosdisk.c
@@ -906,11 +906,11 @@ bd_io(struct open_disk *od, daddr_t dblk, int blks, caddr_t dest, int write)
}
if (write)
- DEBUG("%d sectors from %lld to %p (0x%x) %s", x, dblk, p, VTOP(p),
- result ? "failed" : "ok");
+ DEBUG("Write %d sector(s) from %p (0x%x) to %lld %s", x,
+ p, VTOP(p), dblk, result ? "failed" : "ok");
else
- DEBUG("%d sectors from %p (0x%x) to %lld %s", x, p, VTOP(p), dblk,
- result ? "failed" : "ok");
+ DEBUG("Read %d sector(s) from %lld to %p (0x%x) %s", x,
+ dblk, p, VTOP(p), result ? "failed" : "ok");
if (result) {
return(-1);
}