From owner-freebsd-current@FreeBSD.ORG Tue Jul 10 20:53:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A4F216A41F for ; Tue, 10 Jul 2007 20:53:25 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id C127813C43E for ; Tue, 10 Jul 2007 20:53:24 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 9566E1CD6B; Tue, 10 Jul 2007 22:53:14 +0200 (CEST) Date: Tue, 10 Jul 2007 22:53:14 +0200 From: Ed Schouten To: Michiel Boland Message-ID: <20070710205314.GM55449@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OGW1Z2JKiS9bXo17" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Current , peter@freebsd.org Subject: Re: upgrade 6-STABLE to -CURRENT on sparc64 renders box unusable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 20:53:25 -0000 --OGW1Z2JKiS9bXo17 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Michiel Boland wrote: > --- __getosreldate.c.orig 2007-07-10 22:29:02.000000000 +0200 > +++ __getosreldate.c 2007-07-10 22:28:20.000000000 +0200 > @@ -42,13 +42,10 @@ > int > __getosreldate(void) > { > - static int osreldate; > + int osreldate; > size_t len; > int oid[2]; > int error, osrel; > - > - if (osreldate !=3D 0) > - return (osreldate); > > oid[0] =3D CTL_KERN; > oid[1] =3D KERN_OSRELDATE; Isn't the problem solved by just initializing osreldate with zero? --=20 Ed Schouten WWW: http://g-rave.nl/ --OGW1Z2JKiS9bXo17 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGk/G652SDGA2eCwURAk7jAJ9cJU2XN6Juw+6NLsvdzLFRdmRGbQCfdvVr w8M+tREdYiKmKWNk8YNG51g= =4/cE -----END PGP SIGNATURE----- --OGW1Z2JKiS9bXo17--