File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ impl Socket {
6262 target_os = "illumos" ,
6363 target_os = "linux" ,
6464 target_os = "netbsd" ,
65- target_os = "opensbd " ,
65+ target_os = "openbsd " ,
6666 ) ) ] {
6767 // On platforms that support it we pass the SOCK_CLOEXEC
6868 // flag to atomically create the socket and set it as
@@ -99,7 +99,7 @@ impl Socket {
9999 target_os = "illumos" ,
100100 target_os = "linux" ,
101101 target_os = "netbsd" ,
102- target_os = "opensbd " ,
102+ target_os = "openbsd " ,
103103 ) ) ] {
104104 // Like above, set cloexec atomically
105105 cvt( libc:: socketpair( fam, ty | libc:: SOCK_CLOEXEC , 0 , fds. as_mut_ptr( ) ) ) ?;
@@ -204,7 +204,7 @@ impl Socket {
204204 target_os = "illumos" ,
205205 target_os = "linux" ,
206206 target_os = "netbsd" ,
207- target_os = "opensbd " ,
207+ target_os = "openbsd " ,
208208 ) ) ] {
209209 let fd = cvt_r( || unsafe {
210210 libc:: accept4( self . 0 . raw( ) , storage, len, libc:: SOCK_CLOEXEC )
You can’t perform that action at this time.
0 commit comments