File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ impl Socket {
62
62
target_os = "illumos" ,
63
63
target_os = "linux" ,
64
64
target_os = "netbsd" ,
65
- target_os = "opensbd " ,
65
+ target_os = "openbsd " ,
66
66
) ) ] {
67
67
// On platforms that support it we pass the SOCK_CLOEXEC
68
68
// flag to atomically create the socket and set it as
@@ -99,7 +99,7 @@ impl Socket {
99
99
target_os = "illumos" ,
100
100
target_os = "linux" ,
101
101
target_os = "netbsd" ,
102
- target_os = "opensbd " ,
102
+ target_os = "openbsd " ,
103
103
) ) ] {
104
104
// Like above, set cloexec atomically
105
105
cvt( libc:: socketpair( fam, ty | libc:: SOCK_CLOEXEC , 0 , fds. as_mut_ptr( ) ) ) ?;
@@ -204,7 +204,7 @@ impl Socket {
204
204
target_os = "illumos" ,
205
205
target_os = "linux" ,
206
206
target_os = "netbsd" ,
207
- target_os = "opensbd " ,
207
+ target_os = "openbsd " ,
208
208
) ) ] {
209
209
let fd = cvt_r( || unsafe {
210
210
libc:: accept4( self . 0 . raw( ) , storage, len, libc:: SOCK_CLOEXEC )
You can’t perform that action at this time.
0 commit comments