mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Kernel: Handle string format errors in Device::pseudo_path(..) :^)
This commit is contained in:
parent
1f65728d8b
commit
e626d7098d
Notes:
sideshowbarker
2024-07-17 23:19:25 +09:00
Author: https://github.com/bgianfo
Commit: e626d7098d
Pull-request: https://github.com/SerenityOS/serenity/pull/11126
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ Device::~Device()
|
|||
|
||||
ErrorOr<NonnullOwnPtr<KString>> Device::pseudo_path(const OpenFileDescription&) const
|
||||
{
|
||||
return KString::try_create(String::formatted("device:{},{}", major(), minor()));
|
||||
return KString::formatted("device:{},{}", major(), minor());
|
||||
}
|
||||
|
||||
void Device::process_next_queued_request(Badge<AsyncDeviceRequest>, const AsyncDeviceRequest& completed_request)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue