setdate: Forgot to commit the final fix
authorAlan Cox <alan@linux.intel.com>
Tue, 21 Nov 2017 21:24:10 +0000 (21:24 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 21 Nov 2017 21:24:10 +0000 (21:24 +0000)
Applications/util/setdate.c

index 2531ac8..30748b5 100644 (file)
@@ -226,7 +226,7 @@ retime:
     }
     if (!set)
         return 0;
-    tm.tm_isdst = 0;   /* FIXME -1 once we have dst fixed */
+    tm->tm_isdst = 0;  /* FIXME -1 once we have dst fixed */
     t = mktime(tm);
     if (t == (time_t) -1) {
         fprintf(stderr, "mktime: internal error.\n");