From 5276062f1bed3c6a38428d321be7560f1960ca53 Mon Sep 17 00:00:00 2001 From: kato Date: Sat, 4 Jan 1997 20:13:41 +0000 Subject: Fix collapse code included in #ifdef WDDEBUG: add `;' at the end of the line, and `"' at the end of first argument of printf(). Submitted by: Michio "Karl" Jinbo --- sys/pc98/pc98/wd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c index 6bb726f..bf0f793 100644 --- a/sys/pc98/pc98/wd.c +++ b/sys/pc98/pc98/wd.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.12 1996/12/04 04:21:16 asami Exp $ + * $Id: wd.c,v 1.13 1997/01/04 10:57:45 kato Exp $ */ /* TODO: @@ -883,11 +883,11 @@ wdstart(int ctrlr) #ifdef WDDEBUG printf("cylin %ld head %ld sector %ld addr %x sts ", cylin, head, sector, - (int)bp->b_un.b_addr + du->dk_skip * DEV_BSIZE) + (int)bp->b_un.b_addr + du->dk_skip * DEV_BSIZE); if (old_epson_note) - printf("%x\n, epson_inb(du->dk_port + wd_altsts)); + printf("%x\n", epson_inb(du->dk_port + wd_altsts)); else - printf("%x\n, inb(du->dk_port + wd_altsts)); + printf("%x\n", inb(du->dk_port + wd_altsts)); #endif } -- cgit v1.1