diff options
author | Linus Groh <mail@linusgroh.de> | 2020-12-24 00:57:15 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-24 10:25:18 +0100 |
commit | 46a12e32d3b92d75d1c4c678b10421a19763d977 (patch) | |
tree | 5034cb738176303a11a57437a9f09ec67828fe7c | |
parent | 8e1af483bed41e49632e9ff88fbed46e0e16b12f (diff) | |
download | serenity-46a12e32d3b92d75d1c4c678b10421a19763d977.zip |
open: Remove extraneous newline from error output
This wasn't removed when fprintf was replaced by warnln.
-rw-r--r-- | Userland/open.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/open.cpp b/Userland/open.cpp index 24e73208af..0e4b4cc5f6 100644 --- a/Userland/open.cpp +++ b/Userland/open.cpp @@ -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; } |