]> Dogcows Code - chaz/tar/commitdiff
(main): Call set_start_time()
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 31 Aug 2004 11:49:03 +0000 (11:49 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 31 Aug 2004 11:49:03 +0000 (11:49 +0000)
src/tar.c

index 78638d02c3aacd2616e484c76c23f9e7408c9416..50202a29d9bfd0e72eec2d5b20fcf39ed02138d9 100644 (file)
--- a/src/tar.c
+++ b/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);
This page took 0.027688 seconds and 4 git commands to generate.