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) --- debianutils/start_stop_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debianutils') 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) &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(); } -- cgit v1.2.3