[BACK]Return to top.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/top.c between version 1.32 and 1.33

version 1.32, 2004/05/09 22:14:15 version 1.33, 2004/05/09 22:16:26
Line 561 
Line 561 
          * wait for either input or the end           * wait for either input or the end
          * of the delay period           * of the delay period
          */           */
         if (poll(pfd, 1, delay * 1000) > 0 &&          if (poll(pfd, 1, (int)(delay * 1000)) > 0 &&
             !(pfd[0].revents & (POLLERR|POLLHUP|POLLNVAL))) {              !(pfd[0].revents & (POLLERR|POLLHUP|POLLNVAL))) {
                 char *errmsg;                  char *errmsg;
                 ssize_t len;                  ssize_t len;

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33