mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 12:27:35 +00:00
Kernel: Replace all usages of String::number with KString::number
This commit is contained in:
parent
aa1f7060af
commit
a4560313eb
2 changed files with 3 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue