git: 94e6c8d7d19d - main - lindebugfs: use __func__ not __FUNCTION__

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 31 Jan 2025 23:53:48 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=94e6c8d7d19de68b29233e59c85b16c645c1a872

commit 94e6c8d7d19de68b29233e59c85b16c645c1a872
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-01-25 12:07:12 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-01-31 23:53:31 +0000

    lindebugfs: use __func__ not __FUNCTION__
    
    Change to the C99 version and not the old gcc name.
    No functional changes.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Reviewed by:    dumbbell, emaste
    Differential Revision: https://reviews.freebsd.org/D48736
---
 sys/compat/lindebugfs/lindebugfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/compat/lindebugfs/lindebugfs.c b/sys/compat/lindebugfs/lindebugfs.c
index 5449dabede66..37028b667be8 100644
--- a/sys/compat/lindebugfs/lindebugfs.c
+++ b/sys/compat/lindebugfs/lindebugfs.c
@@ -130,7 +130,7 @@ debugfs_fill(PFS_FILL_ARGS)
 	rc = d->dm_fops->open(&vn, &lf);
 	if (rc < 0) {
 #ifdef INVARIANTS
-		printf("%s:%d open failed with %d\n", __FUNCTION__, __LINE__, rc);
+		printf("%s:%d open failed with %d\n", __func__, __LINE__, rc);
 #endif
 		return (-rc);
 	}
@@ -165,7 +165,7 @@ debugfs_fill(PFS_FILL_ARGS)
 
 	if (rc < 0) {
 #ifdef INVARIANTS
-		printf("%s:%d read/write failed with %d\n", __FUNCTION__, __LINE__, rc);
+		printf("%s:%d read/write failed with %d\n", __func__, __LINE__, rc);
 #endif
 		return (-rc);
 	}