summaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
authorMike Frysinger2005-05-11 00:39:03 +0000
committerMike Frysinger2005-05-11 00:39:03 +0000
commit348e84c202c4946d3694f130a6f81f61eb1d4b9e (patch)
tree0f8cea7ac869802aadea4346d73f122041adad5b /debianutils
parent55e2cf6533582ba0e795176103df0df22436b230 (diff)
downloadbusybox-348e84c202c4946d3694f130a6f81f61eb1d4b9e.zip
busybox-348e84c202c4946d3694f130a6f81f61eb1d4b9e.tar.gz
change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/start_stop_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index e15944c..1eaf0d7 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -238,7 +238,7 @@ start_stop_daemon_main(int argc, char **argv)
&startas, &cmdname, &signame, &userspec, &execname, &pidfile);
/* Check one and only one context option was given */
- if ((opt & 0x80000000UL) || (opt & (SSD_CTX_STOP | SSD_CTX_START)) == 0) {
+ if ((opt & BB_GETOPT_ERROR) || (opt & (SSD_CTX_STOP | SSD_CTX_START)) == 0) {
bb_show_usage();
}