From 46a12e32d3b92d75d1c4c678b10421a19763d977 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 24 Dec 2020 00:57:15 +0100 Subject: [PATCH] open: Remove extraneous newline from error output This wasn't removed when fprintf was replaced by warnln. --- Userland/open.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }