mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-28 16:17:51 +01:00
misc: clang format
This commit is contained in:
@@ -86,8 +86,8 @@ void ktask_main() {
|
||||
FDT::FD fdh = VFSApi::open(StrToPath("/home"));
|
||||
File *fh = VFSApi::get(fdh);
|
||||
|
||||
assert2(fh != nullptr,"Home dir not found!");
|
||||
assert2(fh->dir().get() != nullptr,"Home dir not dir!");
|
||||
assert2(fh != nullptr, "Home dir not found!");
|
||||
assert2(fh->dir().get() != nullptr, "Home dir not dir!");
|
||||
|
||||
VFSGlobals::mounts.add_mount(new MemFs())->set_root(static_ptr_cast<NodeDir>(fh->node()));
|
||||
VFSApi::close(fdh);
|
||||
|
||||
Reference in New Issue
Block a user