소스 검색

(main): Call set_start_time()

Sergey Poznyakoff 21 년 전
부모
커밋
678a4411ea
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  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);