We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952f2ca commit 0143766Copy full SHA for 0143766
tree/ls_util/entry.rs
@@ -702,7 +702,7 @@ fn get_file_info(metadata: &ftw::Metadata) -> FileInfo {
702
703
// major ID - class of the device
704
// minor ID - specific instance of a device
705
- let (major, minor) = unsafe {
+ let (major, minor) = {
706
(
707
libc::major(device_id as libc::dev_t),
708
libc::minor(device_id as libc::dev_t),
0 commit comments