summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-06-13 20:35:48 +0300
committerDan McDonald <danmcd@joyent.com>2017-06-21 15:43:53 -0400
commit78916deaa2ec29fc04f5a0cddacf4bd749a2188f (patch)
tree071f8f4d086dc04959bb85af968271817283d874 /usr/src
parent422eb17feeb8fadbfa2a80faf5c8a8d2987f9196 (diff)
downloadillumos-joyent-78916deaa2ec29fc04f5a0cddacf4bd749a2188f.tar.gz
8415 loader: biosdisk comment wording
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/boot/sys/boot/i386/libi386/biosdisk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/boot/sys/boot/i386/libi386/biosdisk.c b/usr/src/boot/sys/boot/i386/libi386/biosdisk.c
index 8f936394ce..cb3bb66ccf 100644
--- a/usr/src/boot/sys/boot/i386/libi386/biosdisk.c
+++ b/usr/src/boot/sys/boot/i386/libi386/biosdisk.c
@@ -457,10 +457,10 @@ bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size,
int rc;
/*
- * First make sure the IO is multiple of 512 bytes. While we do
+ * First make sure the IO size is a multiple of 512 bytes. While we do
* process partial reads below, the strategy mechanism is built
- * assuming IO of multiple of 512B blocks. If the request is not
- * multiple of 512B blocks, it has to be some sort of bug.
+ * assuming IO is a multiple of 512B blocks. If the request is not
+ * a multiple of 512B blocks, it has to be some sort of bug.
*/
if (size == 0 || (size % BIOSDISK_SECSIZE) != 0) {
printf("bd_strategy: %d bytes I/O not multiple of %d\n",
@@ -481,7 +481,7 @@ bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size,
* while translating block count to bytes.
*/
if (size > INT_MAX) {
- DEBUG("too large read: %zu bytes", size);
+ DEBUG("requested read: %zu too large", size);
return (EIO);
}