More helpful error message

上级 3613588a
...@@ -185,7 +185,7 @@ ialloc(u32 dev, short type) ...@@ -185,7 +185,7 @@ ialloc(u32 dev, short type)
//cprintf("ialloc oops %d\n", inum); // XXX harmless //cprintf("ialloc oops %d\n", inum); // XXX harmless
} }
} }
cprintf("ialloc: no inodes\n"); cprintf("ialloc: 0/%u inodes\n", sb.ninodes);
return nullptr; return nullptr;
} }
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论