panic like bget

This commit is contained in:
rsc 2007-08-08 09:50:46 +00:00
parent 3f98d050e1
commit 32eea7665a

2
fs.c
View file

@ -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;