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) --- util-linux/hwclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 2f6266167..3c2683953 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c @@ -208,7 +208,7 @@ static const struct option hwclock_long_options[] = { bb_opt_complementaly = "r~ws:w~rs:s~wr:l~u:u~l"; opt = bb_getopt_ulflags(argc, argv, "lursw"); /* Check only one mode was given */ - if(opt & 0x80000000UL) { + if(opt & BB_GETOPT_ERROR) { bb_show_usage(); } -- cgit v1.2.3