aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gensquashfs/src')
-rw-r--r--bin/gensquashfs/src/fstree_from_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gensquashfs/src/fstree_from_dir.c b/bin/gensquashfs/src/fstree_from_dir.c
index 820157c..d117435 100644
--- a/bin/gensquashfs/src/fstree_from_dir.c
+++ b/bin/gensquashfs/src/fstree_from_dir.c
@@ -95,7 +95,7 @@ static int add_node(fstree_t *fs, tree_node_t *root,
if (flags & DIR_SCAN_KEEP_TIME) {
n->mod_time = w32time_to_sqfs_time(&(entry->ftLastWriteTime));
} else {
- n->mod_time = fs->defaults.st_mtime;
+ n->mod_time = fs->defaults.mtime;
}
fstree_insert_sorted(root, n);