From 348e84c202c4946d3694f130a6f81f61eb1d4b9e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 May 2005 00:39:03 +0000 Subject: change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR) --- coreutils/cut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/cut.c') 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) part = opt & (OPT_BYTE_FLGS|OPT_CHAR_FLGS|OPT_FIELDS_FLGS); if(part == 0) bb_error_msg_and_die("you must specify a list of bytes, characters, or fields"); - if(opt & 0x80000000UL) + if(opt & BB_GETOPT_ERROR) bb_error_msg_and_die("only one type of list may be specified"); parse_lists(sopt); if((opt & (OPT_DELIM_FLGS))) { -- cgit v1.2.3