git: 51b3a9dacfee - stable/14 - lindebugfs: use __func__ not __FUNCTION__
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Feb 2025 14:53:06 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=51b3a9dacfeec79759fa497d9fe8e87dde2c45be
commit 51b3a9dacfeec79759fa497d9fe8e87dde2c45be
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-01-25 12:07:12 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-02-10 14:52:12 +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
Reviewed by: dumbbell, emaste
Differential Revision: https://reviews.freebsd.org/D48736
(cherry picked from commit 94e6c8d7d19de68b29233e59c85b16c645c1a872)
---
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 6ff9cea6c4e8..ab1dc2a0e5e0 100644
--- a/sys/compat/lindebugfs/lindebugfs.c
+++ b/sys/compat/lindebugfs/lindebugfs.c
@@ -131,7 +131,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);
}
@@ -166,7 +166,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);
}