Ext2FS: Tweak a debug message to print file mode in octal.

This commit is contained in:
Andreas Kling 2019-02-22 09:13:05 +01:00
parent f98dcbf1d6
commit 1da261eeb6
Notes: sideshowbarker 2024-07-19 15:38:39 +09:00

View file

@ -1126,7 +1126,7 @@ RetainPtr<Inode> Ext2FS::create_inode(InodeIdentifier parent_id, const String& n
ASSERT(parent_id.fsid() == fsid());
auto parent_inode = get_inode(parent_id);
dbgprintf("Ext2FS: Adding inode '%s' (mode %u) to parent directory %u:\n", name.characters(), mode, parent_inode->identifier().index());
dbgprintf("Ext2FS: Adding inode '%s' (mode %o) to parent directory %u:\n", name.characters(), mode, parent_inode->identifier().index());
// NOTE: This doesn't commit the inode allocation just yet!
auto inode_id = allocate_inode(0, size);