Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 00:26:45 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r187506 - in stable/7/sys: . kern
Message-ID:  <200901210026.n0L0Qjfe061298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed Jan 21 00:26:45 2009
New Revision: 187506
URL: http://svn.freebsd.org/changeset/base/187506

Log:
  MFC r185036:
  
  Obey signedness flag in %z case.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/kern/subr_prf.c

Modified: stable/7/sys/kern/subr_prf.c
==============================================================================
--- stable/7/sys/kern/subr_prf.c	Tue Jan 20 23:25:27 2009	(r187505)
+++ stable/7/sys/kern/subr_prf.c	Wed Jan 21 00:26:45 2009	(r187506)
@@ -810,7 +810,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 if (hflag)
 				num = (short)va_arg(ap, int);
 			else if (cflag)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901210026.n0L0Qjfe061298>