PERFORCE change 160091 for review
Marko Zec
zec at FreeBSD.org
Wed Apr 1 02:39:05 PDT 2009
http://perforce.freebsd.org/chv.cgi?CH=160091
Change 160091 by zec at 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");
More information about the p4-projects
mailing list