From da5a06e76e8846e8a566fb968e0224d060140a9d Mon Sep 17 00:00:00 2001 From: Dietrich Epp Date: Tue, 16 Mar 2021 12:40:06 -0400 Subject: [PATCH] Use temporary directory on correct volume GitOrigin-RevId: eecf5d8df6a24aa2afa6fc115950b86235d06fb7 --- sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.c b/sync.c index d707b18..635e8de 100644 --- a/sync.c +++ b/sync.c @@ -299,7 +299,7 @@ static int command_main(char *localPath, char *remotePath, int mode) { } func = mac_from_unix; err = - FindFolder(srcVol, kTemporaryFolderType, true, &tempVol, &tempDir); + FindFolder(destVol, kTemporaryFolderType, true, &tempVol, &tempDir); if (err != 0) { print_errcode(err, "could not find temporary folder"); return 1;