aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-10 19:36:39 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-10 19:36:39 +0000
commit3c6b20885dd6395882947e13901313a2fc291113 (patch)
tree8dbb67c5036e65015d8a93f649b1263aa000956c /vl.c
parentda0b0df8c7c842670457088b12096ec63ea66fae (diff)
always use mktimegm
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3570 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index e70ed4c31d..d1ae8cab95 100644
--- a/vl.c
+++ b/vl.c
@@ -8116,7 +8116,7 @@ int main(int argc, char **argv)
}
tm.tm_year -= 1900;
tm.tm_mon--;
- rtc_start_date = timegm(&tm);
+ rtc_start_date = mktimegm(&tm);
if (rtc_start_date == -1) {
date_fail:
fprintf(stderr, "Invalid date format. Valid format are:\n"