aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d+busybox@adaptive-enterprises.com>2023-05-11 23:59:04 +1000
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-25 15:32:03 +0200
commit2bda790fd14adb80820643198bb1e96e4be73571 (patch)
tree445314c31c30cf511586f9d9848972e7a8f43f67
parentb5be8da350b59ddc1925c485f2acb9c8f5b79b7e (diff)
downloadbusybox-w32-2bda790fd14adb80820643198bb1e96e4be73571.tar.gz
busybox-w32-2bda790fd14adb80820643198bb1e96e4be73571.tar.bz2
busybox-w32-2bda790fd14adb80820643198bb1e96e4be73571.zip
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>
-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 = {
166 0, 1, 2, 3, 5, 166 0, 1, 2, 3, 5,
167 4, 6, 6, 7, 8, 167 4, 6, 6, 7, 8,
168 9, 0xa, 0xb, 0xa, 0xa, 168 9, 0xa, 0xb, 0xa, 0xa,
169 0xb, 1, 8, 9, 169 0xc, 1, 8, 9,
170}; 170};
171 171
172int od_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 172int od_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;