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

Diff for /src/usr.bin/kdump/ktrstruct.c between version 1.1 and 1.2

version 1.1, 2013/08/22 02:02:33 version 1.2, 2013/09/09 05:10:32
Line 151 
Line 151 
 static void  static void
 print_timespec(const struct timespec *tsp, int relative)  print_timespec(const struct timespec *tsp, int relative)
 {  {
         print_time(tsp->tv_sec, relative);          if (tsp->tv_nsec == UTIME_NOW)
         if (tsp->tv_nsec != 0)                  printf("UTIME_NOW");
                 printf(".%09ld", tsp->tv_nsec);          else if (tsp->tv_nsec == UTIME_OMIT)
                   printf("UTIME_OMIT");
           else {
                   print_time(tsp->tv_sec, relative);
                   if (tsp->tv_nsec != 0)
                           printf(".%09ld", tsp->tv_nsec);
           }
 }  }
   
 static void  static void

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2