mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-16 07:57:13 -04:00
Fix error messages
This commit is contained in:
parent
2ad062c464
commit
61305cfa48
@ -35,15 +35,15 @@ std::string read_file(const std::string& path){
|
|||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
tlib::printf("cat: error: %s\n", std::error_message(content_result.error()));
|
tlib::printf("ifconfig: error: %s\n", std::error_message(content_result.error()));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
tlib::printf("cat: error: %s\n", std::error_message(info.error()));
|
tlib::printf("ifconfig: error: %s\n", std::error_message(info.error()));
|
||||||
}
|
}
|
||||||
|
|
||||||
tlib::close(*fd);
|
tlib::close(*fd);
|
||||||
} else {
|
} else {
|
||||||
tlib::printf("cat: error: %s\n", std::error_message(fd.error()));
|
tlib::printf("ifconfig: error: %s\n", std::error_message(fd.error()));
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user