git: 2d1b1c1aaa68 - stable/14 - libc/gen/fts.c: fix assignment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Mar 2025 04:20:47 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=2d1b1c1aaa6883f8494846e36fc4e3a9c49d3c53
commit 2d1b1c1aaa6883f8494846e36fc4e3a9c49d3c53
Author: Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2025-02-27 09:29:17 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-03-04 04:19:08 +0000
libc/gen/fts.c: fix assignment
Fixes: e59991206b fts(3): be less strict when automount does its job under us walking autofs mount
(cherry picked from commit ab6a311c720e93c860d3dd4a335264d725db7a0d)
---
lib/libc/gen/fts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c
index a718c4e1e85c..64828ff73d60 100644
--- a/lib/libc/gen/fts.c
+++ b/lib/libc/gen/fts.c
@@ -1166,7 +1166,7 @@ fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path)
}
/* autofs might did the mount under us, accept. */
p->fts_dev = sb.st_dev;
- p->fts_ino == sb.st_ino;
+ p->fts_ino = sb.st_ino;
}
ret = fchdir(newfd);
bail: