Date: Thu, 15 Oct 2009 16:40:29 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 169525 for review Message-ID: <200910151640.n9FGeTdQ039363@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=169525 Change 169525 by rwatson@rwatson_vimage_client on 2009/10/15 16:39:49 Use more appropriate format strings for 64-bit. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/tools/cap/sandbox_echo/sandbox_echo.c#9 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/tools/cap/sandbox_echo/sandbox_echo.c#9 (text+ko) ==== @@ -70,7 +70,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, + errx(-1, "lch_rpc returned size %zu not %zu", len, sizeof(ch)); if (ch != i) errx(-1, "lch_recv: expected %d and got %d", i, ch);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910151640.n9FGeTdQ039363>