mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
dmesg: Add missing newline to error message
This commit is contained in:
parent
9af054af9e
commit
5c918d0e71
Notes:
sideshowbarker
2024-07-19 10:31:33 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5c918d0e71f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user