浏览代码

Kernel: Simplify a message in PATAChannel::create()

Liav A 5 年之前
父节点
当前提交
688dd9ea66
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Kernel/Devices/PATAChannel.cpp

+ 1 - 1
Kernel/Devices/PATAChannel.cpp

@@ -121,7 +121,7 @@ OwnPtr<PATAChannel> PATAChannel::create(ChannelType type, bool force_pio)
     PCI::enumerate_all([&](const PCI::Address& address, PCI::ID id) {
         if (PCI::get_class(address) == PCI_Mass_Storage_Class && PCI::get_subclass(address) == PCI_IDE_Controller_Subclass) {
             pci_address = address;
-            klog() << "PATAChannel: PATA Controller found! id=" << String::format("%w", id.vendor_id) << ":" << String::format("%w", id.device_id);
+            klog() << "PATAChannel: PATA Controller found, ID " << id;
         }
     });
     return make<PATAChannel>(pci_address, type, force_pio);