diff --git a/src/cdrom/cdrom_image_viso.c b/src/cdrom/cdrom_image_viso.c index d643aa00e..9e0bf9322 100644 --- a/src/cdrom/cdrom_image_viso.c +++ b/src/cdrom/cdrom_image_viso.c @@ -805,6 +805,7 @@ next_dir: /* Get current time for the volume descriptors, and calculate the timezone offset for descriptors and file times to use. */ + tzset(); time_t now = time(NULL); tz_offset = (now - mktime(gmtime(&now))) / (3600 / 4);