diff --git a/main.cpp b/main.cpp index 4939291..59e2358 100644 --- a/main.cpp +++ b/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; }