summaryrefslogtreecommitdiff
path: root/debugfs/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'debugfs/util.c')
-rw-r--r--debugfs/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debugfs/util.c b/debugfs/util.c
index 7ff347bc..28abe526 100644
--- a/debugfs/util.c
+++ b/debugfs/util.c
@@ -231,6 +231,7 @@ extern time_t string_to_time(const char *arg)
ts.tm_min > 59 || ts.tm_sec > 61)
ts.tm_mday = 0;
#endif
+ ts.tm_isdst = -1;
ret = mktime(&ts);
if (ts.tm_mday == 0 || ret == ((time_t) -1)) {
/* Try it as an integer... */