spaces around else for rtm
This commit is contained in:
parent
e4d6a21165
commit
5516be1fed
12 changed files with 23 additions and 24 deletions
3
fs.c
3
fs.c
|
@ -358,7 +358,6 @@ bmap(struct inode *ip, uint bn, int alloc)
|
|||
panic("bmap: out of range");
|
||||
}
|
||||
|
||||
// PAGEBREAK: 30
|
||||
// Truncate inode (discard contents).
|
||||
static void
|
||||
itrunc(struct inode *ip)
|
||||
|
@ -565,7 +564,7 @@ skipelem(char *path, char *name)
|
|||
len = path - s;
|
||||
if(len >= DIRSIZ)
|
||||
memmove(name, s, DIRSIZ);
|
||||
else{
|
||||
else {
|
||||
memmove(name, s, len);
|
||||
name[len] = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue