summaryrefslogtreecommitdiff
path: root/mkfs/dirscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/dirscan.c')
-rw-r--r--mkfs/dirscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/dirscan.c b/mkfs/dirscan.c
index 824fba5..dbc862c 100644
--- a/mkfs/dirscan.c
+++ b/mkfs/dirscan.c
@@ -254,7 +254,7 @@ static int populate_dir(int dir_fd, fstree_t *fs, tree_node_t *root,
}
if (!(flags & DIR_SCAN_KEEP_TIME))
- sb.st_mtim = fs->defaults.st_mtim;
+ sb.st_mtime = fs->defaults.st_mtime;
n = fstree_mknode(root, ent->d_name, strlen(ent->d_name),
extra, &sb);