diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-07-30 15:14:44 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-08-03 11:27:12 +0100 |
commit | 1ec8346e096979617d6c48a44e137632ccc15aed (patch) | |
tree | e269a5e94d7686bd7e0c10599df411dbf7101608 /inject | |
parent | 07b5f139bc5c0bb7d340f50aac8c03cc2ff5a573 (diff) |
inject: Log remote process PID on failure to inject.
Diffstat (limited to 'inject')
-rw-r--r-- | inject/inject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inject/inject.h b/inject/inject.h index 7185c83e..a293b5ce 100644 --- a/inject/inject.h +++ b/inject/inject.h @@ -244,7 +244,8 @@ injectDll(HANDLE hProcess, const char *szDllPath) GetExitCodeThread(hThread, &hModule); if (!hModule) { - debugPrintf("inject: error: failed to load %s into the remote process\n", szDllPath); + debugPrintf("inject: error: failed to load %s into the remote process %lu\n", + szDllPath, GetProcessId(hProcess)); } else { bRet = TRUE; } |