From owner-svn-soc-all@FreeBSD.ORG Fri Jun 10 20:55:07 2011 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id B6228106566B for ; Fri, 10 Jun 2011 20:55:06 +0000 (UTC) (envelope-from gk@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Fri, 10 Jun 2011 20:55:06 +0000 Date: Fri, 10 Jun 2011 20:55:06 +0000 From: gk@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20110610205506.B6228106566B@hub.freebsd.org> Cc: Subject: socsvn commit: r223085 - soc2011/gk/ino64-head/usr.sbin/quot X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 20:55:07 -0000 Author: gk Date: Fri Jun 10 20:55:06 2011 New Revision: 223085 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=223085 Log: usr.sbin/quot: Change inode type to uintmax_t to keep scanf() happy Modified: soc2011/gk/ino64-head/usr.sbin/quot/quot.c Modified: soc2011/gk/ino64-head/usr.sbin/quot/quot.c ============================================================================== --- soc2011/gk/ino64-head/usr.sbin/quot/quot.c Fri Jun 10 20:54:56 2011 (r223084) +++ soc2011/gk/ino64-head/usr.sbin/quot/quot.c Fri Jun 10 20:55:06 2011 (r223085) @@ -484,7 +484,7 @@ donames(int fd, struct fs *super, char *name) { int c; - ino_t inode; + uintmax_t inode; ino_t maxino; union dinode *dp; @@ -495,7 +495,7 @@ ungetc(c,stdin); while (scanf("%ju", &inode) == 1) { if (inode > maxino) { - warnx("illegal inode %ju", (uintmax_t)inode); + warnx("illegal inode %ju", inode); return; } errno = 0;