Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2009 09:39:04 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 160091 for review
Message-ID:  <200904010939.n319d4Gq006415@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=160091

Change 160091 by zec@zec_amdx2 on 2009/04/01 09:38:24

	Use correct / portable format for printf()ing size_t args.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/kern/kern_vimage.c#9 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/kern/kern_vimage.c#9 (text+ko) ====

@@ -148,7 +148,7 @@
 		printf("/%s", vml->vml_iname);
 	printf(": ");
 	if (vmi->vmi_struct_size)
-		printf("malloc(%d); ", vmi->vmi_struct_size);
+		printf("malloc(%zu); ", vmi->vmi_struct_size);
 	if (vmi->vmi_iattach != NULL)
 		printf("iattach()");
 	printf("\n");


help

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