summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-08 07:06:24 +0000
committerphk <phk@FreeBSD.org>2002-10-08 07:06:24 +0000
commit24fb0bb01752967a4436c98c8f64432502ff85d3 (patch)
tree23ee2948cef6a8bad13cbdad42859e05b6cde0e0 /sys/boot/i386
parent865428f1db88734bdd0c6789c4e78a14b3e6bd6d (diff)
downloadFreeBSD-src-24fb0bb01752967a4436c98c8f64432502ff85d3.zip
FreeBSD-src-24fb0bb01752967a4436c98c8f64432502ff85d3.tar.gz
Save four bytes by shortening a string two chars.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/boot2/boot2.c3
-rw-r--r--sys/boot/i386/gptboot/gptboot.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/i386/boot2/boot2.c b/sys/boot/i386/boot2/boot2.c
index fdc88ae..d5de068 100644
--- a/sys/boot/i386/boot2/boot2.c
+++ b/sys/boot/i386/boot2/boot2.c
@@ -611,8 +611,7 @@ drvread(void *buf, unsigned lba, unsigned nblk)
v86int();
v86.ctl = V86_FLAGS;
if (V86_CY(v86.efl)) {
- printf("Disk error 0x%x (lba=0x%x)\n", v86.eax >> 8 & 0xff,
- lba);
+ printf("Disk error 0x%x lba 0x%x\n", v86.eax >> 8 & 0xff, lba);
return -1;
}
return 0;
diff --git a/sys/boot/i386/gptboot/gptboot.c b/sys/boot/i386/gptboot/gptboot.c
index fdc88ae..d5de068 100644
--- a/sys/boot/i386/gptboot/gptboot.c
+++ b/sys/boot/i386/gptboot/gptboot.c
@@ -611,8 +611,7 @@ drvread(void *buf, unsigned lba, unsigned nblk)
v86int();
v86.ctl = V86_FLAGS;
if (V86_CY(v86.efl)) {
- printf("Disk error 0x%x (lba=0x%x)\n", v86.eax >> 8 & 0xff,
- lba);
+ printf("Disk error 0x%x lba 0x%x\n", v86.eax >> 8 & 0xff, lba);
return -1;
}
return 0;
OpenPOWER on IntegriCloud