mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 07:02:45 +00:00
Btrfs-progs: allow to receive to relative directories
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
This commit is contained in:
parent
e6e1209254
commit
913372adbd
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user