From ab6a7a9d7c575fae96e0fd121feecb29bbe36754 Mon Sep 17 00:00:00 2001 From: bepis Date: Sun, 25 Jul 2021 19:02:04 +0700 Subject: [PATCH] fix format string specifier --- tools/drdeploy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/drdeploy.c b/tools/drdeploy.c index 8e1cae7309a..1c78124787c 100644 --- a/tools/drdeploy.c +++ b/tools/drdeploy.c @@ -1555,7 +1555,8 @@ _tmain(int argc, TCHAR *targv[]) /* PR#3328: move GetModuleFileNameExW out of core library */ TCHAR exe_path[MAXIMUM_PATH]; HANDLE attach_handle = - OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, (DWORD)attach_pid); + OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, + FALSE, (DWORD)attach_pid); if (attach_handle == NULL || !GetModuleFileNameExW(attach_handle, NULL, exe_path, MAXIMUM_PATH)) usage(false, "attach to invalid pid");