1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:55:08 +00:00

Some coding style fixes. I'm getting more comfortable with this style.

This commit is contained in:
Andreas Kling 2018-12-03 00:20:00 +01:00
parent 7d13432b55
commit 407bb3e76e
13 changed files with 207 additions and 207 deletions

View file

@ -240,7 +240,7 @@ ByteBuffer procfs$mounts()
VFS::the().for_each_mount([&ptr] (auto& mount) {
auto& fs = mount.guest_fs();
ptr += ksprintf(ptr, "%s @ ", fs.class_name());
if (!mount.host().isValid())
if (!mount.host().is_valid())
ptr += ksprintf(ptr, "/\n", fs.class_name());
else
ptr += ksprintf(ptr, "%u:%u\n", mount.host().fsid(), mount.host().index());