Skip to content

Commit 3cafe2a

Browse files
authored
Rename opensbd to openbsd
1 parent c4ec606 commit 3cafe2a

File tree

1 file changed

+3
-3
lines changed
  • library/std/src/sys/unix

1 file changed

+3
-3
lines changed

library/std/src/sys/unix/net.rs

+3-3
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)