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)
This commit is contained in:
Stefan Eßer 2025-02-27 10:29:17 +01:00 committed by Konstantin Belousov
parent 9460df3573
commit 2d1b1c1aaa

View file

@ -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: