Add a "stat" command to test FileHandle::stat().

This commit is contained in:
Andreas Kling 2018-10-14 23:39:11 +02:00
parent c7c957966a
commit 0286b5ea48
Notes: sideshowbarker 2024-07-19 18:48:05 +09:00
6 changed files with 58 additions and 23 deletions

View file

@ -263,7 +263,7 @@ void VirtualFileSystem::listDirectory(const String& path)
sprintf(buf, "%u, %u", metadata.majorDevice, metadata.minorDevice);
printf("%12s ", buf);
} else {
printf("%12u ", metadata.size);
printf("%12lld ", metadata.size);
}
printf("\033[30;1m");