1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

open: Remove extraneous newline from error output

This wasn't removed when fprintf was replaced by warnln.
This commit is contained in:
Linus Groh 2020-12-24 00:57:15 +01:00 committed by Andreas Kling
parent 8e1af483be
commit 46a12e32d3

View file

@ -53,7 +53,7 @@ int main(int argc, char* argv[])
URL url = URL::create_with_url_or_path(path);
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;
continue;
}