mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
open: Remove extraneous newline from error output
This wasn't removed when fprintf was replaced by warnln.
This commit is contained in:
parent
8e1af483be
commit
46a12e32d3
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
URL url = URL::create_with_url_or_path(path);
|
URL url = URL::create_with_url_or_path(path);
|
||||||
if (url.protocol() == "file" && realpath_errno) {
|
if (url.protocol() == "file" && realpath_errno) {
|
||||||
warnln("Failed to open '{}': {}\n", url.path(), strerror(realpath_errno));
|
warnln("Failed to open '{}': {}", url.path(), strerror(realpath_errno));
|
||||||
all_ok = false;
|
all_ok = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue