X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fadd_image.c;h=67a354e4b27b0e3424f020de322a0d22adfc1a3f;hp=7c974992e6cd4e1e1d3008d0c6e6586c4ef99169;hb=7acdc3aecd7ce546727ae8239e0d942c2a00db43;hpb=4498586932ab670cf4791d8cf991d9b3e0ce1545 diff --git a/src/add_image.c b/src/add_image.c index 7c974992..67a354e4 100644 --- a/src/add_image.c +++ b/src/add_image.c @@ -44,7 +44,7 @@ #include #ifdef HAVE_ALLOCA_H -#include +# include #endif /* @@ -226,9 +226,9 @@ static int unix_build_dentry_tree(struct wim_dentry **root_ret, inode = root->d_inode; #ifdef HAVE_STAT_NANOSECOND_PRECISION - inode->i_creation_time = timespec_to_wim_timestamp(&root_stbuf.st_mtim); - inode->i_last_write_time = timespec_to_wim_timestamp(&root_stbuf.st_mtim); - inode->i_last_access_time = timespec_to_wim_timestamp(&root_stbuf.st_atim); + inode->i_creation_time = timespec_to_wim_timestamp(root_stbuf.st_mtim); + inode->i_last_write_time = timespec_to_wim_timestamp(root_stbuf.st_mtim); + inode->i_last_access_time = timespec_to_wim_timestamp(root_stbuf.st_atim); #else inode->i_creation_time = unix_timestamp_to_wim(root_stbuf.st_mtime); inode->i_last_write_time = unix_timestamp_to_wim(root_stbuf.st_mtime);