From owner-svn-src-all@FreeBSD.ORG Tue Feb 14 11:24:25 2012 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 36B271065679; Tue, 14 Feb 2012 11:24:25 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 256D28FC18; Tue, 14 Feb 2012 11:24:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1EBOPFs095842; Tue, 14 Feb 2012 11:24:25 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1EBOOdE095840; Tue, 14 Feb 2012 11:24:24 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201202141124.q1EBOOdE095840@svn.freebsd.org> From: Tijl Coosemans Date: Tue, 14 Feb 2012 11:24:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231669 - head/sys/fs/tmpfs 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, 14 Feb 2012 11:24:25 -0000 Author: tijl Date: Tue Feb 14 11:24:24 2012 New Revision: 231669 URL: http://svn.freebsd.org/changeset/base/231669 Log: Replace PRIdMAX with "jd" in a printf call. Cast the corresponding value to intmax_t instead of uintmax_t, because the original type is off_t. Modified: head/sys/fs/tmpfs/tmpfs_vnops.c Modified: head/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_vnops.c Tue Feb 14 11:16:13 2012 (r231668) +++ head/sys/fs/tmpfs/tmpfs_vnops.c Tue Feb 14 11:24:24 2012 (r231669) @@ -54,8 +54,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include - #include #include #include @@ -1471,10 +1469,9 @@ tmpfs_print(struct vop_print_args *v) printf("tag VT_TMPFS, tmpfs_node %p, flags 0x%x, links %d\n", node, node->tn_flags, node->tn_links); - printf("\tmode 0%o, owner %d, group %d, size %" PRIdMAX - ", status 0x%x\n", + printf("\tmode 0%o, owner %d, group %d, size %jd, status 0x%x\n", node->tn_mode, node->tn_uid, node->tn_gid, - (uintmax_t)node->tn_size, node->tn_status); + (intmax_t)node->tn_size, node->tn_status); if (vp->v_type == VFIFO) fifo_printinfo(vp);