changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: venti/fixarenas: replace %z fmt with %Z

changeset 5044: b04ea0bc0352
parent 5043: b075b01f58ce
child 5045: 06331fd6bf99
author: cinap_lenrek@felloff.net
date: Thu, 07 Jan 2016 02:27:00 +0100
files: sys/src/cmd/venti/srv/fixarenas.c
description: venti/fixarenas: replace %z fmt with %Z
     1.1--- a/sys/src/cmd/venti/srv/fixarenas.c
     1.2+++ b/sys/src/cmd/venti/srv/fixarenas.c
     1.3@@ -17,8 +17,8 @@
     1.4 
     1.5 #define ROUNDUP(x,n)		(((x)+(n)-1)&~((n)-1))
     1.6 
     1.7-#pragma varargck type "z" uvlong
     1.8-#pragma varargck type "z" vlong
     1.9+#pragma varargck type "Z" uvlong
    1.10+#pragma varargck type "Z" vlong
    1.11 #pragma varargck type "t" uint
    1.12 
    1.13 enum
    1.14@@ -61,7 +61,7 @@ usage(void)
    1.15  * Format number in simplest way that is okay with unittoull.
    1.16  */
    1.17 static int
    1.18-zfmt(Fmt *fmt)
    1.19+Zfmt(Fmt *fmt)
    1.20 {
    1.21 	vlong x;
    1.22 	
    1.23@@ -1894,7 +1894,7 @@ threadmain(int argc, char **argv)
    1.24 	file = argv[0];
    1.25 	
    1.26 	ventifmtinstall();
    1.27-	fmtinstall('z', zfmt);
    1.28+	fmtinstall('Z', Zfmt);
    1.29 	fmtinstall('t', tfmt);
    1.30 	quotefmtinstall();
    1.31