summaryrefslogtreecommitdiff
path: root/Kernel/Bus/USB
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-01-11 21:05:35 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2022-01-12 16:09:09 +0200
commita4560313ebe1cd328b98d9cc76c6eb3147aef1b4 (patch)
treef63d6bee702d8006fee9298ee2353c05ba7f17ae /Kernel/Bus/USB
parentaa1f7060afc4a3840df264d10dc09b3f77a373b6 (diff)
downloadserenity-a4560313ebe1cd328b98d9cc76c6eb3147aef1b4.zip
Kernel: Replace all usages of String::number with KString::number
Diffstat (limited to 'Kernel/Bus/USB')
-rw-r--r--Kernel/Bus/USB/SysFSUSB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/USB/SysFSUSB.cpp b/Kernel/Bus/USB/SysFSUSB.cpp
index f6faabed7c..0ae6a5fdb3 100644
--- a/Kernel/Bus/USB/SysFSUSB.cpp
+++ b/Kernel/Bus/USB/SysFSUSB.cpp
@@ -170,7 +170,7 @@ UNMAP_AFTER_INIT void SysFSUSBBusDirectory::initialize()
ErrorOr<NonnullRefPtr<SysFSUSBDeviceInformation>> SysFSUSBDeviceInformation::create(USB::Device& device)
{
- auto device_name = TRY(KString::try_create(String::number(device.address())));
+ auto device_name = TRY(KString::number(device.address()));
return adopt_nonnull_ref_or_enomem(new (nothrow) SysFSUSBDeviceInformation(move(device_name), device));
}