Skip to content

Commit e98e048

Browse files
committed
Remove extra arg from SyscallN
1 parent aa1994a commit e98e048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/lsa/syscall.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func LsaFreeReturnBuffer(buffer uintptr) error {
3333
return LsaNtStatusToWinError(r0)
3434
}
3535
func LsaNtStatusToWinError(ntstatus uintptr) error {
36-
r0, _, errno := syscall.SyscallN(procLsaNtStatusToWinError.Addr(), 1, ntstatus)
36+
r0, _, errno := syscall.SyscallN(procLsaNtStatusToWinError.Addr(), ntstatus)
3737
switch errno { // nolint:exhaustive
3838
case windows.ERROR_SUCCESS:
3939
if r0 == 0 {

0 commit comments

Comments
 (0)