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

@@ -800,7 +800,7 @@ int svlogd_main(int argc, char **argv)
/* We cannot set NONBLOCK on fd #0 permanently - this setting
* _isn't_ per-process! It is shared among all other processes
* with the same stdin */
fl_flag_0 = fcntl(0, F_GETFL, 0);
fl_flag_0 = fcntl(0, F_GETFL);
blocked_sigset = &ss;
sigemptyset(&ss);