From 6d4763db22c09946eea1d8f4f9d0af55b3004ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 29 Oct 2009 17:54:02 +0000 Subject: [PATCH] some perror calls ... --- library/DFProcess.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/DFProcess.cpp b/library/DFProcess.cpp index 08012b8e6..b98022ab9 100644 --- a/library/DFProcess.cpp +++ b/library/DFProcess.cpp @@ -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