[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.57 and 1.58

version 1.57, 2007/10/04 07:47:53 version 1.58, 2007/10/16 07:33:08
Line 337 
Line 337 
         header_text = format_header(uname_field);          header_text = format_header(uname_field);
   
         /* initialize display interface */          /* initialize display interface */
         if ((max_topn = display_init(&statics)) == -1) {          max_topn = display_init(&statics);
                 warnx("can't allocate sufficient memory");  
                 exit(4);  
         }  
         /* print warning if user requested more processes than we can display */          /* print warning if user requested more processes than we can display */
         if (topn > max_topn) {          if (topn > max_topn) {
                 warnx("warning: this terminal can only display %d processes",                  warnx("warning: this terminal can only display %d processes",

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58