PERFORCE change 169535 for review

Robert Watson rwatson at FreeBSD.org
Fri Oct 16 14:26:19 UTC 2009


http://p4web.freebsd.org/chv.cgi?CH=169535

Change 169535 by rwatson at rwatson_vimage_client on 2009/10/16 14:26:11

	Fix types to build warning-free on amd64.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/tools/cap/sandbox_world/sandbox_world.c#5 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/tools/cap/sandbox_world/sandbox_world.c#5 (text+ko) ====

@@ -85,7 +85,7 @@
 	if (lch_rpc(lcsp, 0, &iov, 1, &iov, 1, &len) < 0)
 		err(-1, "lch_rpc");
 	if (len != sizeof(ch))
-		errx(-1, "lch_rpc returned size %d not %d", len, sizeof(ch));
+		errx(-1, "lch_rpc returned size %zd not %zd", len, sizeof(ch));
 	if (ch != 'X')
 		errx(-1, "lch_recv: expected %d and got %d", 'X', ch);
 


More information about the p4-projects mailing list