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

Diff for /src/usr.bin/ts/ts.c between version 1.5 and 1.6

version 1.5, 2022/07/03 15:06:06 version 1.6, 2022/07/04 17:29:03
Line 42 
Line 42 
         int ch, prev;          int ch, prev;
         struct timespec roff, start, now;          struct timespec roff, start, now;
         struct tm *tm;          struct tm *tm;
         int clock = CLOCK_REALTIME;          clockid_t clock = CLOCK_REALTIME;
   
         if (pledge("stdio", NULL) == -1)          if (pledge("stdio", NULL) == -1)
                 err(1, "pledge");                  err(1, "pledge");

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6