Date: Mon, 16 May 2011 20:27:11 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r221993 - in head/sys: kern sys Message-ID: <20914.1305577631@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 16 May 2011 21:38:33 %2B0200." <20110516193833.GA2020@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20110516193833.GA2020@garage.freebsd.pl>, Pawel Jakub Dawidek write s: >> - ("wrote past end of sbuf (%d >=3D %d)", s->s_len, s->s_size)); >> + ("wrote past end of sbuf (%jd >=3D %jd)", >> + (intmax_t)s->s_len, (intmax_t)s->s_size)); > >For ssize_t we have %zd. Yes I know, but sbufs are used on platforms where %z is not available so I prefer to use %jd, in particular since this is only assert strings. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20914.1305577631>