Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common fix token pasting.



details:   https://anonhg.NetBSD.org/src/rev/6a170f5f4d99
branches:  trunk
changeset: 779829:6a170f5f4d99
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 21 17:55:15 2012 +0000

description:
fix token pasting.

diffstat:

 sys/compat/linux/common/linux_socketcall.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c5b34e65024f -r 6a170f5f4d99 sys/compat/linux/common/linux_socketcall.c
--- a/sys/compat/linux/common/linux_socketcall.c        Thu Jun 21 10:35:28 2012 +0000
+++ b/sys/compat/linux/common/linux_socketcall.c        Thu Jun 21 17:55:15 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_socketcall.c,v 1.40 2012/06/20 15:03:18 christos Exp $   */
+/*     $NetBSD: linux_socketcall.c,v 1.41 2012/06/21 17:55:15 christos Exp $   */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_socketcall.c,v 1.40 2012/06/20 15:03:18 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_socketcall.c,v 1.41 2012/06/21 17:55:15 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -89,7 +89,7 @@
        const char *name;
        int argsize;
 } linux_socketcall[LINUX_MAX_SOCKETCALL+1] = {
-#define L(a) "linux/" ## a
+#define L(a) "linux/" a
        {L("invalid"),  -1},                                            /* 0 */
        {L("socket"),   sizeof(struct linux_sys_socket_args)},          /* 1 */
        {L("bind"),     sizeof(struct linux_sys_bind_args)},            /* 2 */



Home | Main Index | Thread Index | Old Index