Skip to content

Commit

Permalink
Update library/std/src/sys/unix/thread.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
  • Loading branch information
In-line and Joshua Nelson authored Apr 27, 2021
1 parent 28501cd commit 2ac0b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl Thread {
zx_thread_self(),
ZX_PROP_NAME,
name.as_ptr() as *const libc::c_void,
libc::strlen(name.as_ptr()),
name.to_bytes().len(),
);
}
}
Expand Down

0 comments on commit 2ac0b3e

Please sign in to comment.