svn commit: r321849 - in head/tools/tools: bootparttest zfsboottest

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Tue Aug 1 06:51:30 UTC 2017


> On Jul 31, 2017, at 23:39, Andriy Gapon <avg at FreeBSD.org> wrote:
> 
> On 01/08/2017 08:29, Ngie Cooper wrote:
>> Author: ngie
>> Date: Tue Aug  1 05:29:36 2017
>> New Revision: 321849
>> URL: https://svnweb.freebsd.org/changeset/base/321849
>> 
>> Log:
>>  Fix the return type for pager_output(..) in bootparttest and zfsboottest
>> 
>>  pager_output(..) has always returned int. For some reason (probably the
>>  clang 5.0 update), this mismatch now results in an error with CC=clang.
>> 
>>  MFC after:	1 week
> 
> I am not sure if this a correct fix...
> Return value of pager_output() signifies whether to continue printing, return
> value of printf is a number of characters printed.

You’re right — it was wrong. Fixed in r321852.
Thanks,
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20170731/caaa1dea/attachment.sig>


More information about the svn-src-head mailing list