From 68541f7c166f8adff1a4f6e0e89d2324ebe957d1 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 8 Oct 2002 07:06:24 +0000 Subject: [PATCH] Save four bytes by shortening a string two chars. Sponsored by: DARPA & NAI Labs. --- sys/boot/i386/boot2/boot2.c | 3 +-- sys/boot/i386/gptboot/gptboot.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/boot/i386/boot2/boot2.c b/sys/boot/i386/boot2/boot2.c index fdc88ae96bc6..d5de06846aa6 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 fdc88ae96bc6..d5de06846aa6 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;