net: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
6387c4bed5
commit
0dc47877a3
@@ -230,7 +230,7 @@ int p9_errstr2errno(char *errstr, int len)
|
||||
if (errno == 0) {
|
||||
/* TODO: if error isn't found, add it dynamically */
|
||||
errstr[len] = 0;
|
||||
printk(KERN_ERR "%s: errstr :%s: not found\n", __FUNCTION__,
|
||||
printk(KERN_ERR "%s: errstr :%s: not found\n", __func__,
|
||||
errstr);
|
||||
errno = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user