From a4560313ebe1cd328b98d9cc76c6eb3147aef1b4 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Tue, 11 Jan 2022 21:05:35 +0200 Subject: Kernel: Replace all usages of String::number with KString::number --- Kernel/Bus/USB/SysFSUSB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Bus/USB') 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> 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)); } -- cgit v1.2.3