mirror of
https://github.com/otakuto/crazydiskinfo.git
synced 2025-08-03 22:58:21 +00:00
Fix std::cout to std::cerr for error message
This commit is contained in:
parent
f702935908
commit
0c7ce76286
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -431,8 +431,8 @@ int main()
|
|||
if (smartList.size() == 0)
|
||||
{
|
||||
endwin();
|
||||
std::cout << "No S.M.A.R.T readable devices." << std::endl;
|
||||
std::cout << "If you are non-root user, please use sudo or become root." << std::endl;
|
||||
std::cerr << "No S.M.A.R.T readable devices." << std::endl;
|
||||
std::cerr << "If you are non-root user, please use sudo or become root." << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue