uml: replace remaining __FUNCTION__ occurance
PATCH 1/1 uml: replace remaining __FUNCTION__ occurance
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by Harvey Harrison <[email protected]>
--- arch/um/drivers/line.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/um/drivers/line.c +1 -1
@@ -304,7 +304,7 @@ int line_ioctl(struct tty_struct *tty, struct file * file,break ;if (i ==ARRAY_SIZE (tty_ioctls)) {printk (KERN_ERR "%s: %s: unknown ioctl: 0x%x\n" , - __FUNCTION__, tty->name, cmd); + __func__, tty->name, cmd); } ret = -ENOIOCTLCMD ;break ;
Signature · 1 line
1.5.4.3.500.g83a2c
Quoted 1 line · Harvey Harrison
__FUNCTION__is gcc-specific, use__func__
[...]
Quoted 2 lines
--
1.5.4.3.500.g83a2c
please, use git send-email --thread