mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 01:32:14 -05:00
Userland: Fix passing a non-format string to fprintf()
This commit is contained in:
parent
f808810d00
commit
3d936d51fd
Notes:
sideshowbarker
2024-07-19 02:59:09 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/3d936d51fda Pull-request: https://github.com/SerenityOS/serenity/pull/3296 Reviewed-by: https://github.com/BenWiederhake Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ int main(int argc, char** argv)
|
|||
} else {
|
||||
auto new_password = Core::get_password("New password: ");
|
||||
if (new_password.is_error()) {
|
||||
fprintf(stderr, strerror(new_password.error()));
|
||||
fprintf(stderr, "%s\n", strerror(new_password.error()));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue