Prechádzať zdrojové kódy

(main): Call set_start_time()

Sergey Poznyakoff 20 rokov pred
rodič
commit
678a4411ea
1 zmenil súbory, kde vykonal 1 pridanie a 4 odobranie
  1. 1 4
      src/tar.c

+ 1 - 4
src/tar.c

@@ -1580,10 +1580,7 @@ decode_options (int argc, char **argv)
 int
 main (int argc, char **argv)
 {
-#if HAVE_CLOCK_GETTIME
-  if (clock_gettime (CLOCK_REALTIME, &start_timespec) != 0)
-#endif
-    start_time = time (0);
+  set_start_time ();
   program_name = argv[0];
   setlocale (LC_ALL, "");
   bindtextdomain (PACKAGE, LOCALEDIR);