From owner-freebsd-sparc Sun Dec 29 21:56:48 2002 Delivered-To: freebsd-sparc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 7338037B401; Sun, 29 Dec 2002 21:56:47 -0800 (PST) Date: Sun, 29 Dec 2002 21:56:47 -0800 From: Juli Mallett To: Craig Rodrigues Cc: David Schultz , current@FreeBSD.ORG, sparc64@FreeBSD.ORG Subject: Re: sparc64 tinderbox failure Message-ID: <20021229215647.A79512@FreeBSD.org> References: <200212300321.gBU3LMWB011861@bowie.private> <20021229202731.B22633@citusc.usc.edu> <20021230051705.GA5307@HAL9000.homeunix.com> <20021230053810.GA79308@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021230053810.GA79308@attbi.com>; from rodrigc@attbi.com on Mon, Dec 30, 2002 at 12:38:10AM -0500 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * De: Craig Rodrigues [ Data: 2002-12-29 ] [ Subjecte: Re: sparc64 tinderbox failure ] > I'm not sure if your patch will solve the problem. > The offending code is here: > 240 if (lflag) { > 241 char buf[32]; > 242 snprintf(buf, sizeof(buf), "%ld-blocks", blocksize); > 243 printf("%-13s %*s %*s\n", > 244 "Device:", > 245 hlen, buf, > 246 hlen, "Used:"); > 247 } > > > Doesn't the printf() statement in question have the wrong number of > arguments? No, it's using variable field-length specifiers. -- Juli Mallett AIM: BSDFlata IRC: juli@EFnet#flata OpenDarwin, Mono, FreeBSD Developer. ircd-hybrid Developer, EFnet addict. FreeBSD on MIPS-Anything on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message