From owner-cvs-all Mon Mar 18 19: 1: 0 2002 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 643DC37B400; Mon, 18 Mar 2002 19:00:51 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g2J30mi66124; Mon, 18 Mar 2002 20:00:49 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g2J30lL98351; Mon, 18 Mar 2002 20:00:47 -0700 (MST) (envelope-from imp@village.org) Date: Mon, 18 Mar 2002 20:00:46 -0700 (MST) Message-Id: <20020318.200046.61902984.imp@village.org> To: des@ofug.org Cc: obrien@FreeBSD.org, mckusick@mckusick.com, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/coda coda_vnops.c src/sys/dev/ccd ccd.c src/sys/dev/md md.c src/sys/dev/vinum vinumdaemon.c vinuminterrupt.c vinumrequest.c vinumrevive.c src/sys/fs/hpfs hpfs_vnops.c src/sys/fs/msdosfs msdosfs_fat.c msdosfs_vnops.c ... From: "M. Warner Losh" In-Reply-To: References: <200203151849.g2FInlW38440@freefall.freebsd.org> <20020318134628.A15033@dragon.nuxi.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: Dag-Erling Smorgrav writes: : "David O'Brien" writes: : > Objects of type daddr64_t need to be cast to `(long long)' before : > printing them out with %lld. Failure to do so adds build warnings on : > 64-bit hosts. : : Umm, better use int64_t and PRId64, like this: : : printf("block no: %" PRId64 "\n", (int64_t)b->b_blkno); IMHO, it is better to nail your to a tree in winter than to start using PRI*. I find them an unspeakable evil that are best forgotten as a mistake as foul as "noalias". IMHO, naturally :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message