make it compile with g++ 3.0 also

This commit is contained in:
Arnout Engelen
2004-09-17 19:40:45 +00:00
parent 498a3df635
commit 389238c51a
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,6 @@
#include <map>
#include "process.h"
#include "hashtbl.h"
#include "nethogs.h"
#include "inodeproc.cpp"
@@ -206,14 +205,14 @@ struct prg_node * findPID (unsigned long inode)
if (node == NULL)
{
if (DEBUG)
std::cout << "ITP: inode " << inode << " not in inode-to-pid-mapping - reloading." << endl;
std::cout << "ITP: inode " << inode << " not in inode-to-pid-mapping - reloading." << std::endl;
prg_cache_clear();
prg_cache_load();
node = prg_cache_get(inode);
if (node == NULL)
{
if (DEBUG)
std::cout << "ITP: inode " << inode << " STILL not in inode-to-pid-mapping." << endl;
std::cout << "ITP: inode " << inode << " STILL not in inode-to-pid-mapping." << std::endl;
return NULL;
}
}