From 7f7bac29b7c78d0592a9152021ffa29438264d36 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Wed, 9 Nov 2022 17:13:34 +0800 Subject: [PATCH] ls: use libc::{major, minor} to calculate device number --- src/uu/ls/src/ls.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index eb55b0a18..c6ae373a0 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -296,8 +296,7 @@ enum Sort { #[derive(PartialEq)] enum SizeFormat { Bytes, - Binary, - // Powers of 1024, --human-readable, -h + Binary, // Powers of 1024, --human-readable, -h Decimal, // Powers of 1000, --si }