Skip to content

Commit c4afa26

Browse files
committed
fix: bugs
1 parent 817c114 commit c4afa26

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

connstate/poll_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"syscall"
2020
"unsafe"
2121

22-
iepoll "github.com/cloudwego/gopkg/internal/epoll"
22+
isyscall "github.com/cloudwego/gopkg/internal/syscall"
2323
)
2424

2525
const _EPOLLET uint32 = 0x80000000
@@ -31,7 +31,7 @@ type epoller struct {
3131
func (p *epoller) wait() error {
3232
events := make([]syscall.EpollEvent, 128)
3333
for {
34-
n, err := iepoll.EpollWait(p.epfd, events, -1)
34+
n, err := isyscall.EpollWait(p.epfd, events, -1)
3535
if err != nil && err != syscall.EINTR {
3636
return err
3737
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)