diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-07 17:13:37 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-12 20:41:34 +0200 |
commit | 5f97b560dfe955e4f1d53be906f5ff60c43f5c85 (patch) | |
tree | 7cbc76f5a187460e42ace38097b924f14169e727 /bin/gensquashfs/src | |
parent | 944ec58852a316bf00b564c5a09376ba81d595a2 (diff) |
Fix fstree defaults usage in Windows version of fstree_from_dir
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs/src')
-rw-r--r-- | bin/gensquashfs/src/fstree_from_dir.c | 2 |
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); |