diff --git a/ntfsprogs/ntfsls.c b/ntfsprogs/ntfsls.c index 6b6e0824..49dc3ef0 100644 --- a/ntfsprogs/ntfsls.c +++ b/ntfsprogs/ntfsls.c @@ -551,7 +551,8 @@ static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name, ntfs_time = ntfs2utc(sle64_to_cpu( file_name_attr->last_data_change_time)); strcpy(t_buf, ctime(&ntfs_time)); - t_buf[16] = '\0'; + memmove(t_buf+16, t_buf+19, 5); + t_buf[21] = '\0'; if (dt_type != NTFS_DT_DIR) { if (!ntfs_attr_lookup(AT_DATA, AT_UNNAMED, 0, 0, 0,