- times[0].tv_nsec = times[1].tv_nsec = 0;
- if (futimens(Fd, times) != 0)
- _error->Errno("futimens", "Failed to set modification time for %s",Itm.Name);
+ times[0].tv_usec = times[1].tv_usec = 0;
+ if (utimes(Itm.Name, times) != 0)
+ _error->Errno("utimes", "Failed to set modification time for %s",Itm.Name);