diff options
Diffstat (limited to 'cmds-receive.c')
-rw-r--r-- | cmds-receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-receive.c b/cmds-receive.c index 1cf0da2f..937db1cf 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -756,7 +756,7 @@ static int process_utimes(const char *path, struct timespec *at, tv[0] = *at; tv[1] = *mt; - ret = utimensat(-1, full_path, tv, AT_SYMLINK_NOFOLLOW); + ret = utimensat(AT_FDCWD, full_path, tv, AT_SYMLINK_NOFOLLOW); if (ret < 0) { ret = -errno; fprintf(stderr, "ERROR: utimes %s failed. %s\n", |