Skip to content

Commit b286e5d

Browse files
committed
format
1 parent fd0232d commit b286e5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vm/src/stdlib/os.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,13 +1281,13 @@ fn os_urandom(size: usize, vm: &VirtualMachine) -> PyResult<Vec<u8>> {
12811281
}
12821282

12831283
#[cfg(target_os = "linux")]
1284-
type MODE_t = u32;
1284+
type ModeT = u32;
12851285

12861286
#[cfg(target_os = "macos")]
1287-
type MODE_t = u16;
1287+
type ModeT = u16;
12881288

12891289
#[cfg(any(target_os = "macos", target_os = "linux"))]
1290-
fn os_umask(mask: MODE_t, _vm: &VirtualMachine) -> PyResult<MODE_t> {
1290+
fn os_umask(mask: ModeT, _vm: &VirtualMachine) -> PyResult<ModeT> {
12911291
let ret_mask = unsafe { libc::umask(mask) };
12921292
Ok(ret_mask)
12931293
}

0 commit comments

Comments
 (0)