Skip to content

Commit

Permalink
fix call to GetIOException (issue 1928) (#1932)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruner committed Sep 29, 2022
1 parent 832a43b commit aef8e76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private void SubscribeForEvent(SafeLineHandle pinHandle)

if (eventSuccess < 0)
{
throw ExceptionHelper.GetIOException(ExceptionResource.RequestEventError, _pinNumber, Marshal.GetLastWin32Error());
throw ExceptionHelper.GetIOException(ExceptionResource.RequestEventError, Marshal.GetLastWin32Error(), _pinNumber);
}
}

Expand Down

0 comments on commit aef8e76

Please sign in to comment.