commit | d37f22225b4d10b84bbc4f6cee2e26d9f9b80fac | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sun Aug 19 13:42:08 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sun Aug 19 13:42:08 2007 +0000 |
tree | 732f39f3a15dcb56986ffd3900ab2fe3c46d0338 | |
parent | b9c02dd791041a4c3b87cb38354268893d739bd0 [diff] [blame] |
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.
diff --git a/shell/lash.c b/shell/lash.c index c28a103..d4dba8e 100644 --- a/shell/lash.c +++ b/shell/lash.c
@@ -1524,7 +1524,7 @@ } } - 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) {