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