mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibCore: Use OSError in get_password() return type
This commit is contained in:
parent
a8681da4bf
commit
70fce5c4c7
4 changed files with 15 additions and 15 deletions
|
@ -124,7 +124,7 @@ int main(int argc, char** argv)
|
|||
} else {
|
||||
auto new_password = Core::get_password("New password: ");
|
||||
if (new_password.is_error()) {
|
||||
warnln("{}", strerror(new_password.error()));
|
||||
warnln("{}", new_password.error());
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue