Fix typo in util.c
There must be mtim*e*
This commit is contained in:
parent
6a7f65117e
commit
f62cf1fff5
@ -73,7 +73,7 @@ int UTIL_setFileStat(const char *filename, stat_t *statbuf)
|
|||||||
{
|
{
|
||||||
/* (atime, mtime) */
|
/* (atime, mtime) */
|
||||||
struct timespec timebuf[2] = { {0, UTIME_NOW} };
|
struct timespec timebuf[2] = { {0, UTIME_NOW} };
|
||||||
timebuf[1] = statbuf->st_mtim;
|
timebuf[1] = statbuf->st_mtime;
|
||||||
res += utimensat(AT_FDCWD, filename, timebuf, 0);
|
res += utimensat(AT_FDCWD, filename, timebuf, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user