Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion termios/pty_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func open_pty_master() (uintptr, error) {
}

func Ptsname(fd uintptr) (string, error) {
var n uintptr
var n uint32
err := ioctl(fd, unix.TIOCGPTN, uintptr(unsafe.Pointer(&n)))
if err != nil {
return "", err
Expand Down