浏览代码

(main): Call set_start_time()

Sergey Poznyakoff 20 年之前
父节点
当前提交
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);