summaryrefslogtreecommitdiffstats
path: root/src/VBox/Runtime/r3/win/process-win.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:52 +0000
commitcd47c2446f1a9dee96610f298989848f8986a8be (patch)
tree02c30d62a9164987d0aaba2f72c58a50053205d6 /src/VBox/Runtime/r3/win/process-win.cpp
parentReleasing progress-linux version 7.0.14-dfsg-4~progress7.99u1. (diff)
downloadvirtualbox-cd47c2446f1a9dee96610f298989848f8986a8be.tar.xz
virtualbox-cd47c2446f1a9dee96610f298989848f8986a8be.zip
Merging upstream version 7.0.16-dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/VBox/Runtime/r3/win/process-win.cpp')
-rw-r--r--src/VBox/Runtime/r3/win/process-win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Runtime/r3/win/process-win.cpp b/src/VBox/Runtime/r3/win/process-win.cpp
index 18ed9ab0..8f84d231 100644
--- a/src/VBox/Runtime/r3/win/process-win.cpp
+++ b/src/VBox/Runtime/r3/win/process-win.cpp
@@ -730,7 +730,7 @@ static bool rtProcWinFindTokenByProcess(const char * const *papszNames, PSID pSi
for (size_t i = 0; papszNames[i] && !fFound; i++)
{
PROCESSENTRY32W ProcEntry;
- ProcEntry.dwSize = sizeof(PROCESSENTRY32);
+ ProcEntry.dwSize = sizeof(ProcEntry);
ProcEntry.szExeFile[0] = '\0';
if (g_pfnProcess32FirstW(hSnap, &ProcEntry))
{