Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d+busybox@adaptive-enterprises.com>2023-05-11 16:59:04 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-25 16:32:03 +0300
commit2bda790fd14adb80820643198bb1e96e4be73571 (patch)
tree445314c31c30cf511586f9d9848972e7a8f43f67 /coreutils
parentb5be8da350b59ddc1925c485f2acb9c8f5b79b7e (diff)
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 <d+busybox@adaptive-enterprises.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/od.c2
1 files changed, 1 insertions, 1 deletions
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;