diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2009-12-24 12:26:13 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2009-12-24 12:26:13 +0000 |
| commit | 5582c8e3020748f8b9b59acdb663a73a744c5245 (patch) | |
| tree | 3031b64e79946d644720cad6214b5651c0dc4f52 /sys/boot | |
| parent | 65dacac999bfe5dc74349ee3301c80e2cc4f8a4a (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/i386/libi386/biosdisk.c | 8 | ||||
| -rw-r--r-- | sys/boot/pc98/libpc98/biosdisk.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c index 862cf650fc58..6506d079a221 100644 --- a/sys/boot/i386/libi386/biosdisk.c +++ b/sys/boot/i386/libi386/biosdisk.c @@ -1274,11 +1274,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 3506c2635c8c..3790549a9621 100644 --- a/sys/boot/pc98/libpc98/biosdisk.c +++ b/sys/boot/pc98/libpc98/biosdisk.c @@ -846,11 +846,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); } |
