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.
This commit is contained in:
Denis Vlasenko
2007-08-19 13:42:08 +00:00
parent b9c02dd791
commit d37f22225b
9 changed files with 15 additions and 20 deletions

View File

@@ -1524,7 +1524,7 @@ int lash_main(int argc_l, char **argv_l)
}
}
opt = getopt32(argc_l, argv_l, "+ic:", &local_pending_command);
opt = getopt32(argv_l, "+ic:", &local_pending_command);
#define LASH_OPT_i (1<<0)
#define LASH_OPT_c (1<<1)
if (opt & LASH_OPT_c) {