X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxml.c;h=1dd4d8398a7efa573b3b43c0060126411d283568;hp=4617e2ab4cbd6fa8a3e1bec379ccb33e6e1fcfd7;hb=2f79af1ffd1f92db74c69117f0c2401826126b92;hpb=dd3f804966f577b104eda649f572e8e765edc7ef diff --git a/src/xml.c b/src/xml.c index 4617e2ab..1dd4d839 100644 --- a/src/xml.c +++ b/src/xml.c @@ -1261,7 +1261,7 @@ xml_update_image_info(WIMStruct *wim, int image) for_dentry_in_tree(wim->image_metadata[image - 1]->root_dentry, calculate_dentry_statistics, image_info); - image_info->last_modification_time = get_wim_timestamp(); + image_info->last_modification_time = now_as_wim_timestamp(); } /* Adds an image to the XML information. */ @@ -1292,7 +1292,7 @@ xml_add_image(WIMStruct *wim, const tchar *name) wim->wim_info = wim_info; image_info->index = wim_info->num_images; - image_info->creation_time = get_wim_timestamp(); + image_info->creation_time = now_as_wim_timestamp(); xml_update_image_info(wim, image_info->index); return 0;