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

Diff for /src/usr.bin/ktrace/ktrace.c between version 1.9 and 1.10

version 1.9, 2000/06/30 16:00:15 version 1.10, 2001/07/12 05:17:13
Line 56 
Line 56 
   
 #include <err.h>  #include <err.h>
 #include <fcntl.h>  #include <fcntl.h>
   #include <stdlib.h>
 #include <stdio.h>  #include <stdio.h>
 #include <unistd.h>  #include <unistd.h>
   
Line 64 
Line 65 
 void no_ktrace __P((int));  void no_ktrace __P((int));
 void usage __P((void));  void usage __P((void));
   
   int
 main(argc, argv)  main(argc, argv)
         int argc;          int argc;
         char **argv;          char **argv;
 {  {
         enum { NOTSET, CLEAR, CLEARALL } clear;          enum { NOTSET, CLEAR, CLEARALL } clear;
         int append, ch, fd, inherit, ops, pid, pidset, trpoints;          int append, ch, fd, inherit, ops, pidset, trpoints;
           pid_t pid;
         char *tracefile;          char *tracefile;
         mode_t omask;          mode_t omask;
         struct stat sb;          struct stat sb;
Line 168 
Line 171 
         exit(0);          exit(0);
 }  }
   
   int
 rpid(p)  rpid(p)
         char *p;          char *p;
 {  {

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10