summaryrefslogtreecommitdiff
path: root/Userland/dmesg.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-31 01:32:57 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-31 01:32:57 +0100
commit5c918d0e71f6199201a7a9f02d4bf3bee384072d (patch)
tree9103f00c463526d6f2feab3441f48bcb962d3c63 /Userland/dmesg.cpp
parent9af054af9e01e6fa5cba169e1fc2f24c6ca3cfac (diff)
downloadserenity-5c918d0e71f6199201a7a9f02d4bf3bee384072d.zip
dmesg: Add missing newline to error message
Diffstat (limited to 'Userland/dmesg.cpp')
-rw-r--r--Userland/dmesg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/dmesg.cpp b/Userland/dmesg.cpp
index afe90b1b0b..01b257f044 100644
--- a/Userland/dmesg.cpp
+++ b/Userland/dmesg.cpp
@@ -10,7 +10,7 @@ int main(int argc, char** argv)
(void)argv;
auto f = CFile::construct("/proc/dmesg");
if (!f->open(CIODevice::ReadOnly)) {
- fprintf(stderr, "open: failed to open /proc/dmesg: %s", f->error_string());
+ fprintf(stderr, "open: failed to open /proc/dmesg: %s\n", f->error_string());
return 1;
}
const auto& b = f->read_all();