diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 00:39:03 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 00:39:03 +0000 |
commit | 801eb19ab9a2f7225f03434957d5fd1c76919cc0 (patch) | |
tree | 0f8cea7ac869802aadea4346d73f122041adad5b /util-linux/hwclock.c | |
parent | 92285b9e71a77a02e3b1eb81dc00c5db0faf07ea (diff) | |
download | busybox-w32-801eb19ab9a2f7225f03434957d5fd1c76919cc0.tar.gz busybox-w32-801eb19ab9a2f7225f03434957d5fd1c76919cc0.tar.bz2 busybox-w32-801eb19ab9a2f7225f03434957d5fd1c76919cc0.zip |
change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
git-svn-id: svn://busybox.net/trunk/busybox@10289 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r-- | util-linux/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { | |||
208 | bb_opt_complementaly = "r~ws:w~rs:s~wr:l~u:u~l"; | 208 | bb_opt_complementaly = "r~ws:w~rs:s~wr:l~u:u~l"; |
209 | opt = bb_getopt_ulflags(argc, argv, "lursw"); | 209 | opt = bb_getopt_ulflags(argc, argv, "lursw"); |
210 | /* Check only one mode was given */ | 210 | /* Check only one mode was given */ |
211 | if(opt & 0x80000000UL) { | 211 | if(opt & BB_GETOPT_ERROR) { |
212 | bb_show_usage(); | 212 | bb_show_usage(); |
213 | } | 213 | } |
214 | 214 | ||