Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix what must have been an omission: missing brace a...
details: https://anonhg.NetBSD.org/src/rev/8a53da60c53e
branches: trunk
changeset: 571646:8a53da60c53e
user: he <he%NetBSD.org@localhost>
date: Sun Dec 05 14:56:50 2004 +0000
description:
Fix what must have been an omission: missing brace and a leftover
use of `i', which is no longer defined. Fixes build problem for ports
not defining __HAVE_GENERIC_SOFT_INTERRUPTS.
diffstat:
sys/net/if_sl.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 51c7108178aa -r 8a53da60c53e sys/net/if_sl.c
--- a/sys/net/if_sl.c Sun Dec 05 13:32:17 2004 +0000
+++ b/sys/net/if_sl.c Sun Dec 05 14:56:50 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sl.c,v 1.87 2004/12/05 05:43:04 christos Exp $ */
+/* $NetBSD: if_sl.c,v 1.88 2004/12/05 14:56:50 he Exp $ */
/*
* Copyright (c) 1987, 1989, 1992, 1993
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sl.c,v 1.87 2004/12/05 05:43:04 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sl.c,v 1.88 2004/12/05 14:56:50 he Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -698,8 +698,7 @@
{
struct sl_softc *sc;
- LIST_FOREACH(sc, &sl_softc_list, sc_iflist)
- sc = &sl_softc[i];
+ LIST_FOREACH(sc, &sl_softc_list, sc_iflist) {
if (sc->sc_ttyp == NULL)
continue;
slintr(sc);
Home |
Main Index |
Thread Index |
Old Index