[PATCH] ipv6 compile fix, __FUNCTION__ pasting, 2.5.33

From: James Morris (jmorris@intercode.com.au)
Date: Sat Aug 31 2002 - 21:05:13 EST


Another __FUNCTION__ pasting fix, for 2.5.33.

- James

-- 
James Morris
<jmorris@intercode.com.au>

diff -urN -X dontdiff linux-2.5.33.orig/net/ipv6/af_inet6.c linux-2.5.33.w1/net/ipv6/af_inet6.c --- linux-2.5.33.orig/net/ipv6/af_inet6.c Sun Sep 1 11:34:46 2002 +++ linux-2.5.33.w1/net/ipv6/af_inet6.c Sun Sep 1 12:00:07 2002 @@ -663,8 +663,8 @@ sizeof(struct raw6_sock), 0, SLAB_HWCACHE_ALIGN, 0, 0); if (!tcp6_sk_cachep || !udp6_sk_cachep || !raw6_sk_cachep) - printk(KERN_CRIT __FUNCTION__ - ": Can't create protocol sock SLAB caches!\n"); + printk(KERN_CRIT "%s: Can't create protocol sock SLAB " + "caches!\n", __FUNCTION__); /* Register the socket-side information for inet6_create. */ for(r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:34 EST