Pass SYSCALL argument to ERRNO-ERROR.
This commit is contained in:
parent
30187cf93f
commit
fbb912c9eb
|
@ -248,7 +248,7 @@
|
|||
(define (handle-EINPROGRESS sock)
|
||||
(let ((val (socket-option sock level/socket socket/error)))
|
||||
(if (not (zero? val))
|
||||
(errno-error val "scheme_connect"))))
|
||||
(errno-error val "scheme_connect" %connect))))
|
||||
|
||||
(import-os-error-syscall %connect (sockfd family name) "scheme_connect")
|
||||
|
||||
|
|
Loading…
Reference in New Issue