From owner-svn-src-all@FreeBSD.ORG Tue Feb 15 21:08:32 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB8C0106564A; Tue, 15 Feb 2011 21:08:32 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE748FC0C; Tue, 15 Feb 2011 21:08:31 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 204609CB0D9; Tue, 15 Feb 2011 22:08:30 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kvsffB1Vpa4I; Tue, 15 Feb 2011 22:08:17 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CC6499CB0E8; Tue, 15 Feb 2011 22:08:17 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id p1FL8H68064573; Tue, 15 Feb 2011 22:08:17 +0100 (CET) (envelope-from rdivacky) Date: Tue, 15 Feb 2011 22:08:17 +0100 From: Roman Divacky To: Dimitry Andric Message-ID: <20110215210817.GA64113@freebsd.org> References: <201102152101.p1FL1D5Z044262@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102152101.p1FL1D5Z044262@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r218716 - head/sys/boot/common X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 21:08:32 -0000 I put there u_int8_t for a reason. That reason being that it's basically struct direct->d_type which is u_int8_t and not uint8_t. On Tue, Feb 15, 2011 at 09:01:13PM +0000, Dimitry Andric wrote: > Author: dim > Date: Tue Feb 15 21:01:13 2011 > New Revision: 218716 > URL: http://svn.freebsd.org/changeset/base/218716 > > Log: > In sys/boot/common/ufsread.c, use uint8_t instead of u_int8_t. > > Submitted by: mdf > > Modified: > head/sys/boot/common/ufsread.c > > Modified: head/sys/boot/common/ufsread.c > ============================================================================== > --- head/sys/boot/common/ufsread.c Tue Feb 15 20:53:01 2011 (r218715) > +++ head/sys/boot/common/ufsread.c Tue Feb 15 21:01:13 2011 (r218716) > @@ -122,7 +122,7 @@ lookup(const char *path) > const char *s; > ino_t ino; > ssize_t n; > - u_int8_t dt; > + uint8_t dt; > > ino = ROOTINO; > dt = DT_DIR;