diff --git a/sys/compat/lindebugfs/lindebugfs.c b/sys/compat/lindebugfs/lindebugfs.c index 6ff9cea6c4e..ab1dc2a0e5e 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); }