summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-01-28 13:32:07 +0000
committerkato <kato@FreeBSD.org>1999-01-28 13:32:07 +0000
commit4fdff4332ef2b455a780601438e4509b53fbf3f0 (patch)
treeb6a5aba0e5ab5c4d2b5252886467c7b3175d827d
parent4532b2c24c57afebb7138390eb595a5937ec424e (diff)
downloadFreeBSD-src-4fdff4332ef2b455a780601438e4509b53fbf3f0.zip
FreeBSD-src-4fdff4332ef2b455a780601438e4509b53fbf3f0.tar.gz
Oops, added parentheses after `else'.
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
-rw-r--r--sys/pc98/pc98/wd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 1c44a79..77cee7b 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -1739,11 +1739,12 @@ wdcommand(struct disk *du, u_int cylinder, u_int head, u_int sector,
if( command == WDCC_FEATURES) {
if (old_epson_note)
epson_outb(wdc + wd_features, count);
- else
+ else {
outb(wdc + wd_sdh, WDSD_IBM | (du->dk_unit << 4) | head);
outb(wdc + wd_features, count);
if ( count == WDFEA_SETXFER )
outb(wdc + wd_seccnt, sector);
+ }
} else {
if (old_epson_note) {
epson_outb(wdc + wd_precomp, du->dk_dd.d_precompcyl/4);
OpenPOWER on IntegriCloud