summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorAustin Clements <[email protected]>2011-08-29 16:12:01 -0400
committerAustin Clements <[email protected]>2011-08-29 16:12:01 -0400
commita7061b4f9717e85ebedf87244921d37babc5d8f4 (patch)
treed0da825082a1c7f179f2e8b04f1c9b9a6ccbe9e0 /file.c
parent16f205b5c9de7b49dcff44f2f14377799624083a (diff)
downloadxv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.tar.gz
xv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.tar.bz2
xv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.zip
Style nits; indentation and tabs
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 2a32c60..df90e07 100644
--- a/file.c
+++ b/file.c
@@ -134,7 +134,7 @@ filewrite(struct file *f, char *addr, int n)
begin_trans();
ilock(f->ip);
if ((r = writei(f->ip, addr + i, f->off, n1)) > 0)
- f->off += r;
+ f->off += r;
iunlock(f->ip);
commit_trans();