lkml.org 
[lkml]   [2002]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] ipv6 compile fix, __FUNCTION__ pasting, 2.5.33
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.053 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site