some small changes to get nethogs into a more releaseable state again

This commit is contained in:
Arnout Engelen
2008-06-08 20:49:49 +00:00
parent c0e6a385e4
commit b8cbc9b6f5
5 changed files with 17 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ class Process
{
public:
/* the process makes a copy of the device name and name. */
Process (unsigned long m_inode, char * m_devicename, char * m_name = NULL)
Process (unsigned long m_inode, const char * m_devicename, const char * m_name = NULL)
{
//std::cout << "ARN: Process created with dev " << m_devicename << std::endl;
if (DEBUG)