Subject: sys/netinet/ip_auth.c compile problem
To: None <current-users@netbsd.org>
From: John R. Shannon <shannonjr@netbsd.org>
List: current-users
Date: 08/13/2004 04:28:25
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Problem: fr_lock is declared void yet on line 391 error is set to it's retu=
rn=20
value.

This patch fixes the build problem:

=2D --- sys/netinet/ip_auth.c.orig  2004-03-28 02:00:56.000000000 -0700
+++ sys/netinet/ip_auth.c
@@ -388,7 +388,7 @@ int mode;
                        error =3D EPERM;
                        break;
                }
=2D -               error =3D fr_lock(data, &fr_auth_lock);
+               fr_lock(data, &fr_auth_lock);
                break;

        case SIOCATHST:

NetBSD 2.0_BETA
i386

Build failure discovered building GENERIC.MP

=2D --=20

John R. Shannon
shannonjr@netbsd.org
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)

iEYEARECAAYFAkEcl8kACgkQOKbCxya4HYugHgCfbeCXnActDCR5GESoPq7o+qDv
zXEAnjWJcb8wtpuvPdk9uco8jrSu/diz
=3D7Ghl
=2D----END PGP SIGNATURE-----