Skip to content

Commit 9e3e00a

Browse files
committed
revert unix changes
1 parent 212a4e6 commit 9e3e00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/syscall_aix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
235235
}
236236
}
237237

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

0 commit comments

Comments
 (0)