[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.3 and 1.4

version 1.3, 2022/06/30 07:42:50 version 1.4, 2022/06/30 07:55:48
Line 107 
Line 107 
                         if (iflag)                          if (iflag)
                                 clock_gettime(clock, &start);                                  clock_gettime(clock, &start);
                         if ((tm = localtime(&now.tv_sec)) == NULL)                          if ((tm = localtime(&now.tv_sec)) == NULL)
                                 err(1, "localtime/gmtime");                                  err(1, "localtime");
                         fmtfmt(tm, now.tv_nsec);                          fmtfmt(tm, now.tv_nsec);
                 }                  }
                 if (putchar(ch) == EOF)                  if (putchar(ch) == EOF)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4