summaryrefslogtreecommitdiffhomepage
path: root/miscutils/crond.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-19 13:42:08 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-19 13:42:08 +0000
commitd37f22225b4d10b84bbc4f6cee2e26d9f9b80fac (patch)
tree732f39f3a15dcb56986ffd3900ab2fe3c46d0338 /miscutils/crond.c
parentb9c02dd791041a4c3b87cb38354268893d739bd0 (diff)
libbb,crond,lash: fix getopt32 (don't know how it managed to slip through)
*: fcntl(fd, F_GETFL) doesn't require third parameter at all.
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r--miscutils/crond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 117a8b175..3c73c7337 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -137,7 +137,7 @@ int crond_main(int ac, char **av)
opt_complementary = "f-b:b-f:S-L:L-S" USE_DEBUG_CROND_OPTION(":d-l");
opterr = 0; /* disable getopt 'errors' message. */
- opt = getopt32(ac, av, "l:L:fbSc:" USE_DEBUG_CROND_OPTION("d:"),
+ opt = getopt32(av, "l:L:fbSc:" USE_DEBUG_CROND_OPTION("d:"),
&lopt, &Lopt, &copt USE_DEBUG_CROND_OPTION(, &dopt));
if (opt & 1) /* -l */
LogLevel = xatou(lopt);