public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d953a50
)
setdate: Forgot to commit the final fix
author
Alan Cox
<alan@linux.intel.com>
Tue, 21 Nov 2017 21:24:10 +0000
(21:24 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 21 Nov 2017 21:24:10 +0000
(21:24 +0000)
Applications/util/setdate.c
patch
|
blob
|
history
diff --git
a/Applications/util/setdate.c
b/Applications/util/setdate.c
index
2531ac8
..
30748b5
100644
(file)
--- a/
Applications/util/setdate.c
+++ b/
Applications/util/setdate.c
@@
-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");