diff options
author | Ron Yorston <rmy@pobox.com> | 2017-08-22 14:56:12 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-22 14:56:12 +0100 |
commit | ce9af1cc5ea23f754587448cf35b5120c77bfeef (patch) | |
tree | 69e5eaba5e75ab909ed92d5045393471b8ff3c13 /coreutils/od_bloaty.c | |
parent | c170026700eabb10147dd848c45c06995b43a32e (diff) | |
parent | e837a0dbbebf4229306df98fe9ee3b9bb30630c4 (diff) | |
download | busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.gz busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.bz2 busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'coreutils/od_bloaty.c')
-rw-r--r-- | coreutils/od_bloaty.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 513c8ef37..df7354b7b 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c | |||
@@ -61,8 +61,8 @@ enum { | |||
61 | OPT_traditional = (1 << 18) * ENABLE_LONG_OPTS, | 61 | OPT_traditional = (1 << 18) * ENABLE_LONG_OPTS, |
62 | }; | 62 | }; |
63 | 63 | ||
64 | #define OD_GETOPT32() getopt32(argv, \ | 64 | #define OD_GETOPT32() getopt32long(argv, \ |
65 | "A:N:abcdfhij:lot:*vxsS:w:+:", \ | 65 | "A:N:abcdfhij:lot:*vxsS:w:+:", od_longopts, \ |
66 | /* -w with optional param */ \ | 66 | /* -w with optional param */ \ |
67 | /* -S was -s and also had optional parameter */ \ | 67 | /* -S was -s and also had optional parameter */ \ |
68 | /* but in coreutils 6.3 it was renamed and now has */ \ | 68 | /* but in coreutils 6.3 it was renamed and now has */ \ |
@@ -1220,9 +1220,6 @@ int od_main(int argc UNUSED_PARAM, char **argv) | |||
1220 | address_pad_len_char = '7'; | 1220 | address_pad_len_char = '7'; |
1221 | 1221 | ||
1222 | /* Parse command line */ | 1222 | /* Parse command line */ |
1223 | #if ENABLE_LONG_OPTS | ||
1224 | applet_long_options = od_longopts; | ||
1225 | #endif | ||
1226 | opt = OD_GETOPT32(); | 1223 | opt = OD_GETOPT32(); |
1227 | argv += optind; | 1224 | argv += optind; |
1228 | if (opt & OPT_A) { | 1225 | if (opt & OPT_A) { |