diff options
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r-- | miscutils/crond.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index 3e12fedc8..4f25486dd 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c | |||
@@ -133,19 +133,19 @@ static void crondlog(const char *ctl, ...) | |||
133 | 133 | ||
134 | int crond_main(int ac, char **av) | 134 | int crond_main(int ac, char **av) |
135 | { | 135 | { |
136 | unsigned long opt; | 136 | unsigned opt; |
137 | char *lopt, *Lopt, *copt; | 137 | char *lopt, *Lopt, *copt; |
138 | 138 | ||
139 | #if ENABLE_DEBUG_CROND_OPTION | 139 | #if ENABLE_DEBUG_CROND_OPTION |
140 | char *dopt; | 140 | char *dopt; |
141 | 141 | ||
142 | bb_opt_complementally = "f-b:b-f:S-L:L-S:d-l"; | 142 | opt_complementary = "f-b:b-f:S-L:L-S:d-l"; |
143 | #else | 143 | #else |
144 | bb_opt_complementally = "f-b:b-f:S-L:L-S"; | 144 | opt_complementary = "f-b:b-f:S-L:L-S"; |
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | opterr = 0; /* disable getopt 'errors' message. */ | 147 | opterr = 0; /* disable getopt 'errors' message. */ |
148 | opt = bb_getopt_ulflags(ac, av, "l:L:fbSc:" | 148 | opt = getopt32(ac, av, "l:L:fbSc:" |
149 | #if ENABLE_DEBUG_CROND_OPTION | 149 | #if ENABLE_DEBUG_CROND_OPTION |
150 | "d:" | 150 | "d:" |
151 | #endif | 151 | #endif |