From owner-cvs-src@FreeBSD.ORG Sat Jan 20 21:21:57 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA16316A402; Sat, 20 Jan 2007 21:21:57 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 63CE013C461; Sat, 20 Jan 2007 21:21:57 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from outgoing.leidinger.net (p54A5CC95.dip.t-dialin.net [84.165.204.149]) by redbull.bpaserver.net (Postfix) with ESMTP id 4D8632E190; Sat, 20 Jan 2007 22:30:27 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 65E475B482A; Sat, 20 Jan 2007 22:21:49 +0100 (CET) Date: Sat, 20 Jan 2007 22:21:48 +0100 From: Alexander Leidinger To: Sam Leffler Message-ID: <20070120222148.4f700711@Magellan.Leidinger.net> In-Reply-To: <45B275F0.9030904@errno.com> References: <200701201932.l0KJWNST091647@repoman.freebsd.org> <45B271AD.9000503@samsco.org> <45B275F0.9030904@errno.com> Organization: FreeBSD X-Mailer: Claws Mail 2.7.1 (GTK+ 2.10.8; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.764, required 6, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, SARE_FROM_SPAM_WORD3 0.10) X-BPAnet-MailScanner-From: netchild@freebsd.org X-Spam-Status: No Cc: cvs-src@FreeBSD.org, Scott Long , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/linprocfs linprocfs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 21:21:57 -0000 Quoting Sam Leffler (Sat, 20 Jan 2007 12:05:04 -0800): > Scott Long wrote: > > Alexander Leidinger wrote: > >> netchild 2007-01-20 19:32:23 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/compat/linprocfs linprocfs.c Log: > >> Fix tinderbox build on amd64. > >> Revision Changes Path > >> 1.104 +2 -2 src/sys/compat/linprocfs/linprocfs.c > > > > Try the following instead: I try tomorrow. Thanks! > > --- linprocfs.c 20 Jan 2007 19:32:23 -0000 1.104 > > +++ linprocfs.c 20 Jan 2007 19:46:29 -0000 > > @@ -474,8 +474,8 @@ > > state = 'R'; > > > > if (ratelimit == 0) { > > - printf("linprocfs: don't know how to handle > > unknown FreeBSD state %d/%jd, mapping to R\n", > > - kp.ki_stat, (intmax_t)sizeof(linux_state)); > > + printf("linprocfs: don't know how to handle > > unknown FreeBSD state %d/%zd, mapping to R\n", > > + kp.ki_stat, sizeof(linux_state)); > > ++ratelimit; > > } > > } else > > > > > > Are the kernel prinf extensions documented anywhere (don't see 'em in > printf(9))? I always forget and have to resort to the code... In the reply to the tinderbox mail I asked if there are some docs which provide info which printf-identifier to use in which (common) situation. I think this would be very useful (and can be provided in the wiki if it doesn't fit into a man page). Bye, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137