summaryrefslogtreecommitdiff
path: root/sysfile.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 /sysfile.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 'sysfile.c')
-rw-r--r--sysfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysfile.c b/sysfile.c
index 400d395..279847b 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -270,7 +270,7 @@ sys_open(void)
if(omode & O_CREATE){
if((ip = create(path, 1, T_FILE, 0, 0)) == 0)
return -1;
- }else{
+ } else {
if((ip = namei(path)) == 0)
return -1;
ilock(ip);