summaryrefslogtreecommitdiff
path: root/ide.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 18:37:41 +0000
committerrsc <rsc>2007-08-28 18:37:41 +0000
commit5516be1fed10ac87848668964c495266d02ae915 (patch)
treeb3f85375a1ccd347861e9eea34d644cc9824c444 /ide.c
parente4d6a21165c01dd743a68e323fb06708ef820ab7 (diff)
downloadxv6-labs-5516be1fed10ac87848668964c495266d02ae915.tar.gz
xv6-labs-5516be1fed10ac87848668964c495266d02ae915.tar.bz2
xv6-labs-5516be1fed10ac87848668964c495266d02ae915.zip
spaces around else for rtm
Diffstat (limited to 'ide.c')
-rw-r--r--ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide.c b/ide.c
index 53139ec..78c3123 100644
--- a/ide.c
+++ b/ide.c
@@ -81,7 +81,7 @@ ide_start_request(struct buf *b)
if(b->flags & B_DIRTY){
outb(0x1f7, IDE_CMD_WRITE);
outsl(0x1f0, b->data, 512/4);
- }else{
+ } else {
outb(0x1f7, IDE_CMD_READ);
}
}