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

Diff for /src/usr.bin/modstat/Attic/modstat.c between version 1.18 and 1.19

version 1.18, 2002/05/24 07:03:35 version 1.19, 2002/12/12 00:00:16
Line 147 
Line 147 
         setgid(getgid());          setgid(getgid());
   
         printf("Type     Id Off %-*s Size %-*s Rev Module Name\n",          printf("Type     Id Off %-*s Size %-*s Rev Module Name\n",
                 POINTERSIZE, "Loadaddr", POINTERSIZE, "Info");              POINTERSIZE, "Loadaddr", POINTERSIZE, "Info");
   
         if (modnum != -1 || modname != NULL) {          if (modnum != -1 || modname != NULL) {
                 if (dostat(devfd, modnum, modname))                  if (dostat(devfd, modnum, modname))
Line 156 
Line 156 
         }          }
   
         /* Start at 0 and work up until we receive EINVAL. */          /* Start at 0 and work up until we receive EINVAL. */
         for (modnum = 0; dostat(devfd, modnum, NULL) < 2; modnum++)          for (modnum = 0; dostat(devfd, modnum, NULL) < 2; modnum++)
                 ;                  ;
   
         exit(0);          exit(0);
 }  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19