make inode field 'const' and private

This commit is contained in:
Arnout Engelen
2012-03-16 00:07:33 +00:00
parent f95b4f7f85
commit 0ac3e624fc
2 changed files with 9 additions and 4 deletions

View File

@@ -276,7 +276,7 @@ Process * getProcess (Connection * connection, const char * devicename)
proc = getProcess(inode, devicename);
if (proc == NULL) {
proc = new Process (0, "", connection->refpacket->gethashstring());
proc = new Process (inode, "", connection->refpacket->gethashstring());
processes = new ProcList (proc, processes);
}