summaryrefslogtreecommitdiff
path: root/Kernel/Storage/Partition/GUIDPartitionTable.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-24 15:28:26 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-25 09:47:36 +0100
commiteea72b9b5c12b9ffdf80e0990518ce183ac0cf70 (patch)
tree7bc797f5e86863391e506ae188616356d3b0ec11 /Kernel/Storage/Partition/GUIDPartitionTable.cpp
parentda69de1f1b04e304772daed5223a380fb13f82d6 (diff)
downloadserenity-eea72b9b5c12b9ffdf80e0990518ce183ac0cf70.zip
Everywhere: Hook up remaining debug macros to Debug.h.
Diffstat (limited to 'Kernel/Storage/Partition/GUIDPartitionTable.cpp')
-rw-r--r--Kernel/Storage/Partition/GUIDPartitionTable.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Kernel/Storage/Partition/GUIDPartitionTable.cpp b/Kernel/Storage/Partition/GUIDPartitionTable.cpp
index 81ea9666ea..58f65318b6 100644
--- a/Kernel/Storage/Partition/GUIDPartitionTable.cpp
+++ b/Kernel/Storage/Partition/GUIDPartitionTable.cpp
@@ -26,12 +26,9 @@
#include <AK/AllOf.h>
#include <AK/Array.h>
+#include <AK/Debug.h>
#include <Kernel/Storage/Partition/GUIDPartitionTable.h>
-#ifndef GPT_DEBUG
-# define GPT_DEBUG
-#endif
-
namespace Kernel {
#define GPT_SIGNATURE2 0x54524150
@@ -103,7 +100,7 @@ bool GUIDPartitionTable::initialize()
return false;
}
-#ifdef GPT_DEBUG
+#if GPT_DEBUG
klog() << "GUIDPartitionTable: signature - 0x" << String::format("%x", header().sig[1]) << String::format("%x", header().sig[0]);
#endif