git: 0115ad61d859 - main - autofs: Fix cross-threading on file to delete

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 22 May 2024 21:10:10 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=0115ad61d859b5fe107c84abce6673c153800bda

commit 0115ad61d859b5fe107c84abce6673c153800bda
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-05-22 20:44:05 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-22 21:10:08 +0000

    autofs: Fix cross-threading on file to delete
    
    We want to delete the new file, which is installed in man4 not man5.
    
    Noticed by:     Gary Jennejohn
    Fixes:          a03e8a40d404
    Sponsored by:   Netflix
---
 tools/build/mk/OptionalObsoleteFiles.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 82227eef5d50..c0118bcbf6cb 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -134,7 +134,7 @@ OLD_FILES+=etc/rc.d/autounmountd
 OLD_FILES+=usr/sbin/automount
 OLD_FILES+=usr/sbin/automountd
 OLD_FILES+=usr/sbin/autounmountd
-OLD_FILES+=usr/share/man/man5/autofs.4.gz
+OLD_FILES+=usr/share/man/man4/autofs.4.gz
 OLD_FILES+=usr/share/man/man5/auto_master.5.gz
 OLD_FILES+=usr/share/man/man8/automount.8.gz
 OLD_FILES+=usr/share/man/man8/automountd.8.gz