Skip to content

Commit 0143766

Browse files
committed
tree/ls_util/entry: warning cleanup
1 parent 952f2ca commit 0143766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/ls_util/entry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ fn get_file_info(metadata: &ftw::Metadata) -> FileInfo {
702702

703703
// major ID - class of the device
704704
// minor ID - specific instance of a device
705-
let (major, minor) = unsafe {
705+
let (major, minor) = {
706706
(
707707
libc::major(device_id as libc::dev_t),
708708
libc::minor(device_id as libc::dev_t),

0 commit comments

Comments
 (0)