From 2bda790fd14adb80820643198bb1e96e4be73571 Mon Sep 17 00:00:00 2001 From: David Leonard Date: Thu, 11 May 2023 23:59:04 +1000 Subject: od: fix -O od with option -O (4-byte octal) was incorrectly displaying 2-byte decimal when built without CONFIG_DESKTOP Signed-off-by: David Leonard Signed-off-by: Denys Vlasenko --- coreutils/od.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreutils/od.c b/coreutils/od.c index 6f22331e0..dcf1bd6f6 100644 --- a/coreutils/od.c +++ b/coreutils/od.c @@ -166,7 +166,7 @@ static const char od_o2si[] ALIGN1 = { 0, 1, 2, 3, 5, 4, 6, 6, 7, 8, 9, 0xa, 0xb, 0xa, 0xa, - 0xb, 1, 8, 9, + 0xc, 1, 8, 9, }; int od_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -- cgit v1.2.3-55-g6feb