Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Andrey Turkin <andrey.turkin+redox@gmail.com>
This commit is contained in:
Anhad Singh
2024-12-05 02:55:34 +00:00
parent 4b959776e0
commit 43301848b9
+1 -1
View File
@@ -35,7 +35,7 @@ pub unsafe extern "C" fn __tls_get_addr(ti: *mut dl_tls_index) -> *mut c_void {
if tcb.dtv_mut().unwrap()[dtv_index].is_null() {
// Allocate TLS for module.
let master = &tcb.masters().unwrap()[ti.ti_module as usize - 1];
let master = &tcb.masters().unwrap()[dtv_index];
// FIXME(andypython): master.align
let layout = unsafe {