Source-Changes-HG archive

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

[src/trunk]: src/sys/net/lagg lagg(4): fix typo



details:   https://anonhg.NetBSD.org/src/rev/0a31c0fb8a12
branches:  trunk
changeset: 364588:0a31c0fb8a12
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Thu Mar 31 01:39:09 2022 +0000

description:
lagg(4): fix typo

pointed out by k-goda@IIJ

diffstat:

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

diffs (27 lines):

diff -r 0a6afd7ff51f -r 0a31c0fb8a12 sys/net/lagg/if_lagg.c
--- a/sys/net/lagg/if_lagg.c    Thu Mar 31 01:36:47 2022 +0000
+++ b/sys/net/lagg/if_lagg.c    Thu Mar 31 01:39:09 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_lagg.c,v 1.30 2022/01/12 08:23:53 yamaguchi Exp $   */
+/*     $NetBSD: if_lagg.c,v 1.31 2022/03/31 01:39:09 yamaguchi Exp $   */
 
 /*
  * Copyright (c) 2005, 2006 Reyk Floeter <reyk%openbsd.org@localhost>
@@ -20,7 +20,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.30 2022/01/12 08:23:53 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.31 2022/03/31 01:39:09 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -215,7 +215,7 @@
 #ifdef LAGG_DEBUG
 #define LAGG_DPRINTF(_sc, _fmt, _args...)      do {    \
        printf("%s: " _fmt, (_sc) != NULL ?             \
-       sc->sc_if.if_xname : "lagg", ##_args);          \
+       (_sc)->sc_if.if_xname : "lagg", ##_args);               \
 } while (0)
 #else
 #define LAGG_DPRINTF(_sc, _fmt, _args...)      __nothing



Home | Main Index | Thread Index | Old Index