summaryrefslogtreecommitdiff
path: root/Kernel/PCI/Definitions.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/PCI/Definitions.h')
-rw-r--r--Kernel/PCI/Definitions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/PCI/Definitions.h b/Kernel/PCI/Definitions.h
index 944b41f40c..49a9b43825 100644
--- a/Kernel/PCI/Definitions.h
+++ b/Kernel/PCI/Definitions.h
@@ -87,7 +87,7 @@ struct ID {
};
inline const LogStream& operator<<(const LogStream& stream, const ID value)
{
- return stream << "(" << String::format("%w", value.vendor_id) << ":" << String::format("%w", value.device_id) << ")";
+ return stream << String::formatted("({:04x}:{:04x})", value.vendor_id, value.device_id);
}
struct Address {
public: