Source-Changes-HG archive

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

[src/is-mlppp]: src/sys/net macro error



details:   https://anonhg.NetBSD.org/src/rev/a3947f3b73d6
branches:  is-mlppp
changeset: 1008715:a3947f3b73d6
user:      is <is%NetBSD.org@localhost>
date:      Sat Apr 11 08:11:58 2020 +0000

description:
macro error

diffstat:

 sys/net/if_spppsubr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 23a39687dbd0 -r a3947f3b73d6 sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Sat Apr 11 07:38:00 2020 +0000
+++ b/sys/net/if_spppsubr.c     Sat Apr 11 08:11:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_spppsubr.c,v 1.187.2.7 2020/04/11 07:38:00 is Exp $  */
+/*     $NetBSD: if_spppsubr.c,v 1.187.2.8 2020/04/11 08:11:58 is Exp $  */
 
 /*
  * Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.187.2.7 2020/04/11 07:38:00 is Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.187.2.8 2020/04/11 08:11:58 is Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -93,7 +93,7 @@
 #include <net/if_spppvar.h>
 
 #ifndef _NET_IF_STATS_H_
-#define if_statadd(ifp,member,amount)  do { (ifp)->(member)+=(amount); } while (0)
+#define if_statadd(ifp,member,amount)  do { (ifp)->member+=(amount); } while (0)
 #define if_statadd2(ifp,m1,a1,m2,a2)   do { if_statadd(ifp,m1,a1); if_statadd(ifp,m2,a2);} while(0)
 #define if_statinc(ifp,member)         if_statadd(ifp,member,1)
 #endif



Home | Main Index | Thread Index | Old Index