summaryrefslogtreecommitdiff
path: root/miscutils/crond.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r--miscutils/crond.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 7d1908c63..bd7a177e0 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -80,9 +80,9 @@ enum {
80 OPT_b = (1 << 3), 80 OPT_b = (1 << 3),
81 OPT_S = (1 << 4), 81 OPT_S = (1 << 4),
82 OPT_c = (1 << 5), 82 OPT_c = (1 << 5),
83 OPT_d = (1 << 6) * ENABLE_DEBUG_CROND_OPTION, 83 OPT_d = (1 << 6) * ENABLE_FEATURE_CROND_D,
84}; 84};
85#if ENABLE_DEBUG_CROND_OPTION 85#if ENABLE_FEATURE_CROND_D
86#define DebugOpt (option_mask32 & OPT_d) 86#define DebugOpt (option_mask32 & OPT_d)
87#else 87#else
88#define DebugOpt 0 88#define DebugOpt 0
@@ -166,11 +166,11 @@ int crond_main(int argc UNUSED_PARAM, char **argv)
166 INIT_G(); 166 INIT_G();
167 167
168 /* "-b after -f is ignored", and so on for every pair a-b */ 168 /* "-b after -f is ignored", and so on for every pair a-b */
169 opt_complementary = "f-b:b-f:S-L:L-S" USE_DEBUG_CROND_OPTION(":d-l") 169 opt_complementary = "f-b:b-f:S-L:L-S" USE_FEATURE_CROND_D(":d-l")
170 ":l+:d+"; /* -l and -d have numeric param */ 170 ":l+:d+"; /* -l and -d have numeric param */
171 opt = getopt32(argv, "l:L:fbSc:" USE_DEBUG_CROND_OPTION("d:"), 171 opt = getopt32(argv, "l:L:fbSc:" USE_FEATURE_CROND_D("d:"),
172 &LogLevel, &LogFile, &CDir 172 &LogLevel, &LogFile, &CDir
173 USE_DEBUG_CROND_OPTION(,&LogLevel)); 173 USE_FEATURE_CROND_D(,&LogLevel));
174 /* both -d N and -l N set the same variable: LogLevel */ 174 /* both -d N and -l N set the same variable: LogLevel */
175 175
176 if (!(opt & OPT_f)) { 176 if (!(opt & OPT_f)) {