Skip to content

Commit

Permalink
revert unix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rikysya committed Mar 26, 2020
1 parent 212a4e6 commit 9e3e00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/syscall_aix.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
}
}

bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n:n]
bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
sa.Name = string(bytes)
return sa, nil

Expand Down

0 comments on commit 9e3e00a

Please sign in to comment.