some perror calls ...

develop
Petr Mrázek 2009-10-29 17:54:02 +00:00
parent 63582a7a70
commit 6d4763db22
1 changed files with 2 additions and 0 deletions

@ -145,6 +145,7 @@ bool Process::detach()
if(result == -1)
{
cerr << "couldn't close /proc/"<< my_handle <<"/mem" << endl;
perror("mem file close");
return false;
}
else
@ -155,6 +156,7 @@ bool Process::detach()
if(result == -1)
{
cerr << "couldn't detach from process pid" << my_handle << endl;
perror("ptrace detach");
return false;
}
else