1
Fork 0
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:
Idan Horowitz 2022-01-11 21:05:35 +02:00
parent aa1f7060af
commit a4560313eb
2 changed files with 3 additions and 2 deletions

View file

@ -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));
}