Commit Diff


commit - 22902794fc6f1f4d5bf6b01fdc20e783fb86af97
commit + 82223ffcc5f64af285d0eac132024ef478ca6bd2
blob - f7fd550df06e8e48a7ec56a1a89ce50fbe2cdc4e
blob + cb77d0174b7784f5caab2a896af314562e4951aa
--- lib/worktree.c
+++ lib/worktree.c
@@ -3682,7 +3682,7 @@ collect_commitables(void *arg, unsigned char status,
 		if (dirfd != -1) {
 			if (fstatat(dirfd, de_name, &sb,
 			    AT_SYMLINK_NOFOLLOW) == -1) {
-				err = got_error_from_errno2("lstat",
+				err = got_error_from_errno2("fstatat",
 				    ct->ondisk_path);
 				goto done;
 			}