Print this page
4823 don't open-code NSEC2MSEC and MSEC2NSEC

@@ -669,11 +669,11 @@
                                 if ((ln = read(infd, obuf, ZLOGIN_BUFSIZ)) > 0)
                                         (void) write(STDOUT_FILENO, obuf, ln);
 
                                 /* sleep for 10 milliseconds */
                                 rqtp.tv_sec = 0;
-                                rqtp.tv_nsec = 10 * (NANOSEC / MILLISEC);
+                                rqtp.tv_nsec = MSEC2NSEC(10);
                                 (void) nanosleep(&rqtp, NULL);
                                 if (!dead)
                                         goto retry;
                         }