Skip to content
Snippets Groups Projects
Verified Commit 47235d44 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix change of sockaddr member sa_data on Redox

parent c59f268f
No related branches found
No related tags found
No related merge requests found
Pipeline #2664 passed with warnings
......@@ -84,8 +84,8 @@ unsafe fn inner_get_name(
trace!("path: {}", ::core::str::from_utf8_unchecked(&part));
let data = slice::from_raw_parts_mut(
&mut (*address).data as *mut _ as *mut u8,
(*address).data.len(),
&mut (*address).sa_data as *mut _ as *mut u8,
(*address).sa_data.len(),
);
let len = data.len().min(part.len());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment