From owner-cvs-src@FreeBSD.ORG Sat Jan 20 20:05:07 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 F0CBD16A400; Sat, 20 Jan 2007 20:05:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id B684A13C44C; Sat, 20 Jan 2007 20:05:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l0KK54xW006753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Jan 2007 12:05:06 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45B275F0.9030904@errno.com> Date: Sat, 20 Jan 2007 12:05:04 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Scott Long References: <200701201932.l0KJWNST091647@repoman.freebsd.org> <45B271AD.9000503@samsco.org> In-Reply-To: <45B271AD.9000503@samsco.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Alexander Leidinger , 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 20:05:07 -0000 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: > > --- 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... Sam