From owner-svn-src-head@FreeBSD.ORG Tue Nov 18 00:01:17 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A67A1065678; Tue, 18 Nov 2008 00:01:17 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1597E8FC13; Tue, 18 Nov 2008 00:01:17 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAI01GEd061915; Tue, 18 Nov 2008 00:01:16 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAI01GXG061914; Tue, 18 Nov 2008 00:01:16 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <200811180001.mAI01GXG061914@svn.freebsd.org> From: Xin LI Date: Tue, 18 Nov 2008 00:01:16 +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: r185037 - head/lib/libstand X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 00:01:17 -0000 Author: delphij Date: Tue Nov 18 00:01:16 2008 New Revision: 185037 URL: http://svn.freebsd.org/changeset/base/185037 Log: Obey signedness flag in %z case. MFC after: 2 months Modified: head/lib/libstand/printf.c Modified: head/lib/libstand/printf.c ============================================================================== --- head/lib/libstand/printf.c Mon Nov 17 23:57:40 2008 (r185036) +++ head/lib/libstand/printf.c Tue Nov 18 00:01:16 2008 (r185037) @@ -381,7 +381,7 @@ handle_sign: else if (lflag) num = va_arg(ap, long); else if (zflag) - num = va_arg(ap, size_t); + num = va_arg(ap, ssize_t); else num = va_arg(ap, int); number: