Use standard casing and mangling for internal errno

This commit is contained in:
Peter Limkilde Svendsen
2024-03-01 00:25:42 +00:00
committed by Jeremy Soller
parent 7074432184
commit a7137512fa
36 changed files with 157 additions and 159 deletions
+2 -2
View File
@@ -886,7 +886,7 @@ unsafe fn inner_printf<W: Write>(w: W, format: *const c_char, mut ap: VaList) ->
let c = match char::from_u32(*ptr as _) {
Some(c) => c,
None => {
platform::errno.set(EILSEQ);
platform::ERRNO.set(EILSEQ);
return Err(io::last_os_error());
}
};
@@ -922,7 +922,7 @@ unsafe fn inner_printf<W: Write>(w: W, format: *const c_char, mut ap: VaList) ->
let c = match char::from_u32(c as _) {
Some(c) => c,
None => {
platform::errno.set(EILSEQ);
platform::ERRNO.set(EILSEQ);
return Err(io::last_os_error());
}
};