aboutsummaryrefslogtreecommitdiff
path: root/debianutils/start_stop_daemon.c
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-05-11 00:39:03 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-05-11 00:39:03 +0000
commit801eb19ab9a2f7225f03434957d5fd1c76919cc0 (patch)
tree0f8cea7ac869802aadea4346d73f122041adad5b /debianutils/start_stop_daemon.c
parent92285b9e71a77a02e3b1eb81dc00c5db0faf07ea (diff)
downloadbusybox-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 'debianutils/start_stop_daemon.c')
-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 e15944c59..1eaf0d78c 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)
238 &startas, &cmdname, &signame, &userspec, &execname, &pidfile); 238 &startas, &cmdname, &signame, &userspec, &execname, &pidfile);
239 239
240 /* Check one and only one context option was given */ 240 /* Check one and only one context option was given */
241 if ((opt & 0x80000000UL) || (opt & (SSD_CTX_STOP | SSD_CTX_START)) == 0) { 241 if ((opt & BB_GETOPT_ERROR) || (opt & (SSD_CTX_STOP | SSD_CTX_START)) == 0) {
242 bb_show_usage(); 242 bb_show_usage();
243 } 243 }
244 244