Subject: Patch to make kernel builds work again (if.c)
To: None <current-users@netbsd.org>
From: Michael Graff <explorer@flame.org>
List: current-users
Date: 03/31/2005 11:48:56
--nextPart1812412.Enbey0Xcb2
Content-Type: multipart/mixed;
boundary="Boundary-01=_5nCTCma8a/njlzh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--Boundary-01=_5nCTCma8a/njlzh
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Does this look sane?
--Boundary-01=_5nCTCma8a/njlzh
Content-Type: text/x-diff;
charset="us-ascii";
name="if.c.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="if.c.diff"
Index: sys/net/if.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/net/if.c,v
retrieving revision 1.155
diff -u -r1.155 if.c
=2D-- sys/net/if.c 31 Mar 2005 15:48:13 -0000 1.155
+++ sys/net/if.c 31 Mar 2005 16:48:04 -0000
@@ -1741,7 +1741,7 @@
int s =3D splnet();
int error;
=20
=2D IFQ_ENQUEUE(&ifp->if_snd, m, &pktattr, error);
+ IFQ_ENQUEUE(&ifp->if_snd, m, pktattr, error);
if (error) {
splx(s);
return error;
@@ -1778,7 +1778,7 @@
else
IF_ENQUEUE(ifq, m);
} else
=2D IFQ_ENQUEUE(&ifp->if_snd, m, &pktattr, error);
+ IFQ_ENQUEUE(&ifp->if_snd, m, pktattr, error);
if (error !=3D 0) {
++ifp->if_oerrors;
return error;
--Boundary-01=_5nCTCma8a/njlzh--
--nextPart1812412.Enbey0Xcb2
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iD8DBQBCTCn8l6Nz7kJWYWYRAl0dAJ451Mc0ykC06C5bOAphM98HSM2v+ACfQTJ0
Zsm7owPmkGjp4FUZ4m5uU+4=
=lR8B
-----END PGP SIGNATURE-----
--nextPart1812412.Enbey0Xcb2--