1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:47:35 +00:00

dmesg: Add missing newline to error message

This commit is contained in:
Andreas Kling 2019-12-31 01:32:57 +01:00
parent 9af054af9e
commit 5c918d0e71

View file

@ -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();