Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2009 14:26:18 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 169535 for review
Message-ID:  <200910161426.n9GEQIKB015514@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=169535

Change 169535 by rwatson@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);
 



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