Fix log message.
This commit is contained in:
@@ -235,8 +235,7 @@ static quad_t get_ms() {
|
|||||||
static void get_pids(std::set<pid_t> *pids) {
|
static void get_pids(std::set<pid_t> *pids) {
|
||||||
DIR *proc = opendir("/proc");
|
DIR *proc = opendir("/proc");
|
||||||
if (proc == 0) {
|
if (proc == 0) {
|
||||||
std::cerr << "Error reading /proc, needed to get inode-to-pid-mapping"
|
std::cerr << "Error reading /proc, needed to get pid set" << std::endl;
|
||||||
<< std::endl;
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
dirent *entry;
|
dirent *entry;
|
||||||
|
|||||||
Reference in New Issue
Block a user