]> Dogcows Code - chaz/tar/blobdiff - src/tar.c
Do not depend on any particular ordering of output.
[chaz/tar] / src / tar.c
index 78638d02c3aacd2616e484c76c23f9e7408c9416..430bc2234dc246d1738740a7574acf9f4994129e 100644 (file)
--- a/src/tar.c
+++ b/src/tar.c
@@ -1255,7 +1255,7 @@ static struct argp argp = {
 void
 usage (int status)
 {
-  argp_help (&argp, stderr, ARGP_HELP_SEE, program_name);
+  argp_help (&argp, stderr, ARGP_HELP_SEE, (char*) program_name);
   exit (status);
 }
 
@@ -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.025968 seconds and 4 git commands to generate.