mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Kernel: Unbreak building with extra debug macros, part 2
This commit is contained in:
parent
eac3bbdcee
commit
081bb29626
9 changed files with 28 additions and 18 deletions
|
@ -60,6 +60,8 @@
|
|||
#include <Kernel/VM/PurgeableVMObject.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
//#define PROCFS_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
enum ProcParentDirectory {
|
||||
|
@ -1104,7 +1106,7 @@ InodeMetadata ProcFSInode::metadata() const
|
|||
auto proc_file_type = to_proc_file_type(identifier());
|
||||
|
||||
#ifdef PROCFS_DEBUG
|
||||
dbg() << " -> pid: " << pid << ", fi: " << proc_file_type << ", pdi: " << proc_parent_directory;
|
||||
dbg() << " -> pid: " << to_pid(identifier()).value() << ", fi: " << proc_file_type << ", pdi: " << proc_parent_directory;
|
||||
#endif
|
||||
|
||||
if (is_process_related_file(identifier())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue