[parted-devel] [PATCH 2/2] libparted: Fix KiB unit string

Brian C. Lane bcl at redhat.com
Sat Mar 4 00:21:32 GMT 2023


Change kiB to KiB, this will effect things trying to parse the output
units string.
---
 libparted/unit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libparted/unit.c b/libparted/unit.c
index d86658c..f6a2f4f 100644
--- a/libparted/unit.c
+++ b/libparted/unit.c
@@ -80,7 +80,7 @@ static const char* unit_names[] = {
 	"cyl",
 	"chs",
 	"%",
-	"kiB",
+	"KiB",
 	"MiB",
 	"GiB",
 	"TiB"
-- 
2.39.2




More information about the parted-devel mailing list