diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-11 00:39:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-11 00:39:03 +0000 |
commit | 348e84c202c4946d3694f130a6f81f61eb1d4b9e (patch) | |
tree | 0f8cea7ac869802aadea4346d73f122041adad5b /coreutils/cut.c | |
parent | 55e2cf6533582ba0e795176103df0df22436b230 (diff) | |
download | busybox-w32-348e84c202c4946d3694f130a6f81f61eb1d4b9e.tar.gz busybox-w32-348e84c202c4946d3694f130a6f81f61eb1d4b9e.tar.bz2 busybox-w32-348e84c202c4946d3694f130a6f81f61eb1d4b9e.zip |
change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
Diffstat (limited to 'coreutils/cut.c')
-rw-r--r-- | coreutils/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index d26e80eee..e5fb5aff7 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -300,7 +300,7 @@ extern int cut_main(int argc, char **argv) | |||
300 | part = opt & (OPT_BYTE_FLGS|OPT_CHAR_FLGS|OPT_FIELDS_FLGS); | 300 | part = opt & (OPT_BYTE_FLGS|OPT_CHAR_FLGS|OPT_FIELDS_FLGS); |
301 | if(part == 0) | 301 | if(part == 0) |
302 | bb_error_msg_and_die("you must specify a list of bytes, characters, or fields"); | 302 | bb_error_msg_and_die("you must specify a list of bytes, characters, or fields"); |
303 | if(opt & 0x80000000UL) | 303 | if(opt & BB_GETOPT_ERROR) |
304 | bb_error_msg_and_die("only one type of list may be specified"); | 304 | bb_error_msg_and_die("only one type of list may be specified"); |
305 | parse_lists(sopt); | 305 | parse_lists(sopt); |
306 | if((opt & (OPT_DELIM_FLGS))) { | 306 | if((opt & (OPT_DELIM_FLGS))) { |