fs: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
530b641278
commit
8e24eea728
@ -2329,10 +2329,10 @@ void __init mnt_init(void)
|
||||
err = sysfs_init();
|
||||
if (err)
|
||||
printk(KERN_WARNING "%s: sysfs_init error: %d\n",
|
||||
__FUNCTION__, err);
|
||||
__func__, err);
|
||||
fs_kobj = kobject_create_and_add("fs", NULL);
|
||||
if (!fs_kobj)
|
||||
printk(KERN_WARNING "%s: kobj create error\n", __FUNCTION__);
|
||||
printk(KERN_WARNING "%s: kobj create error\n", __func__);
|
||||
init_rootfs();
|
||||
init_mount_tree();
|
||||
}
|
||||
|
Reference in New Issue
Block a user