mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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)
This commit is contained in:
parent
8552e8de6d
commit
51b3a9dacf
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue