From owner-freebsd-bugs Mon Mar 19 2:15:50 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.raditex.se (mail.raditex.se [192.5.36.21]) by hub.freebsd.org (Postfix) with ESMTP id EC56837B718; Mon, 19 Mar 2001 02:15:45 -0800 (PST) (envelope-from gh@raditex.se) Received: from gandalf.raditex.se (gandalf.raditex.se [192.5.36.18]) by ns.raditex.se (8.9.3/8.9.3) with ESMTP id LAA78350; Mon, 19 Mar 2001 11:15:43 +0100 (CET) (envelope-from gh@raditex.se) Date: Mon, 19 Mar 2001 11:15:43 +0100 (CET) From: G Hasse X-Sender: gh@gandalf.sickla.raditex.se To: dwmalone@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/25904: Error in the printf-function. In-Reply-To: <200103191005.f2JA51r98657@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 19 Mar 2001 dwmalone@FreeBSD.org wrote: > Synopsis: Error in the printf-function. > > State-Changed-From-To: open->closed > State-Changed-By: dwmalone > State-Changed-When: Mon Mar 19 02:04:13 PST 2001 > State-Changed-Why: > Seems to be due to misues of printf. In Linux printf I get this printout... Var is 2.256102 /* an address printed as float. Stupid! but the Value is 2.400000 way to print an float adress? */ Var is 2.256102 Value is 4 Var is 4 So way is the conversion of an address in FreeBSD 0? GH > http://www.freebsd.org/cgi/query-pr.cgi?pr=25904 > ---------------------------------------------------------------- Göran Hasse email: gh@raditex.se Tel: +46 8 694 92 70 Raditex AB http://www.raditex.se Fax: +46 8 442 05 91 Sickla Alle 7, 1tr Mob: 070-5530148 131 34 NACKA, SWEDEN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message