Skip to content

Commit

Permalink
try bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed May 21, 2020
1 parent 40293e7 commit 328d304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/arch/windows/process_handles.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ psutil_get_open_files(DWORD dwPid, HANDLE hProcess) {
}

// This will set *globalFileName* global variable.
if (psutil_threaded_get_filename(hFile) != 0)
if (psutil_get_filename(&hFile) != 0)
goto error;

if (globalFileName->Length > 0) {
Expand Down

0 comments on commit 328d304

Please sign in to comment.