diff options
| author | Toomas Soome <tsoome@me.com> | 2018-08-16 14:23:38 +0300 |
|---|---|---|
| committer | Robert Mustacchi <rm@joyent.com> | 2018-08-21 04:37:08 +0000 |
| commit | 43f9d55fa4bea101f8b3961606dec0af0b38b2ab (patch) | |
| tree | 113cf340086b5eb0fb4a996e872540eb8a30db8d /usr | |
| parent | e8fda3522f688f9e55aa251eafc9b42b78717d40 (diff) | |
| download | illumos-joyent-43f9d55fa4bea101f8b3961606dec0af0b38b2ab.tar.gz | |
9741 libi386: fix DEBUG messages in biosdisk
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr')
| -rw-r--r-- | usr/src/boot/sys/boot/i386/libi386/biosdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/boot/sys/boot/i386/libi386/biosdisk.c b/usr/src/boot/sys/boot/i386/libi386/biosdisk.c index b60f989d00..a760a373fa 100644 --- a/usr/src/boot/sys/boot/i386/libi386/biosdisk.c +++ b/usr/src/boot/sys/boot/i386/libi386/biosdisk.c @@ -475,7 +475,7 @@ bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, * while translating block count to bytes. */ if (size > INT_MAX) { - DEBUG("requested read: %zu too large", size); + DEBUG("too large I/O: %zu bytes", size); return (EIO); } @@ -511,7 +511,7 @@ bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, if (dblk + blks >= dev->d_offset + disk_blocks) { blks = dev->d_offset + disk_blocks - dblk; size = blks * BD(dev).bd_sectorsize; - DEBUG("short read %d", blks); + DEBUG("short I/O %d", blks); } if (V86_IO_BUFFER_SIZE / BD(dev).bd_sectorsize == 0) |
