In message <20110516193833.ga2...@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
p...@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.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to