inetd: comment tweak. no code changes
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Sep 2009 01:48:40 +0000 (03:48 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Sep 2009 01:48:40 +0000 (03:48 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/inetd.c

index 4b9d01294cd1791843525eba6aaad8c7121b0626..391bb9ba65fcbfbd736b863b885fd10ac49fd742 100644 (file)
@@ -1361,9 +1361,9 @@ int inetd_main(int argc UNUSED_PARAM, char **argv)
                                if (setrlimit(RLIMIT_NOFILE, &rlim_ofile) < 0)
                                        bb_perror_msg("setrlimit");
 
-                       /*closelog(); - BAD, we are after vfork,
-                        * this may confuse syslog() state.
-                        * Let's hope libc set syslog fd to CLOEXEC...
+                       /* closelog(); - WRONG. we are after vfork,
+                        * this may confuse syslog() internal state.
+                        * Let's hope libc sets syslog fd to CLOEXEC...
                         */
                        xmove_fd(ctrl, STDIN_FILENO);
                        xdup2(STDIN_FILENO, STDOUT_FILENO);