BUG: https://bugzilla.samba.org/show_bug.cgi?id=15427
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
9dc66fecf7c1743d264c5c4f8978b77bab75ed86)
return false;
}
} else if (strcmp(attribute, "kMDItemFSContentChangeDate") == 0) {
- sl_time.tv_sec = sp->st_ex_mtime.tv_sec;
+ sl_time = convert_timespec_to_timeval(sp->st_ex_mtime);
result = dalloc_add_copy(meta, &sl_time, sl_time_t);
if (result != 0) {
return false;