summaryrefslogtreecommitdiff
path: root/sysfile.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 18:32:08 +0000
committerrsc <rsc>2007-08-28 18:32:08 +0000
commite4d6a21165c01dd743a68e323fb06708ef820ab7 (patch)
tree3088155cccccdfbed6348199021907587cee15b3 /sysfile.c
parentc1b100e93044469de30c634107bc645361cc1a73 (diff)
downloadxv6-labs-e4d6a21165c01dd743a68e323fb06708ef820ab7.tar.gz
xv6-labs-e4d6a21165c01dd743a68e323fb06708ef820ab7.tar.bz2
xv6-labs-e4d6a21165c01dd743a68e323fb06708ef820ab7.zip
more consistent spacing
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 0b7cb9e..400d395 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -335,7 +335,7 @@ sys_chdir(void)
if(argstr(0, &path) < 0 || (ip = namei(path)) == 0)
return -1;
ilock(ip);
- if(ip->type != T_DIR) {
+ if(ip->type != T_DIR){
iunlockput(ip);
return -1;
}