panic like bget
This commit is contained in:
parent
3f98d050e1
commit
32eea7665a
1 changed files with 1 additions and 1 deletions
2
fs.c
2
fs.c
|
@ -138,7 +138,7 @@ iget(uint dev, uint inum)
|
||||||
}
|
}
|
||||||
|
|
||||||
if(nip == 0)
|
if(nip == 0)
|
||||||
panic("out of inodes");
|
panic("iget: no inodes");
|
||||||
|
|
||||||
nip->dev = dev;
|
nip->dev = dev;
|
||||||
nip->inum = inum;
|
nip->inum = inum;
|
||||||
|
|
Loading…
Reference in a new issue