git: 9d324b5ffc8a - main - mount: Don't pass a NULL format string to xo_err().

John Baldwin jhb at FreeBSD.org
Sun Sep 26 01:49:23 UTC 2021


On 9/25/21 11:57 AM, Piotr P. Stefaniak wrote:
> On 2021-09-25 18:52:23, John Baldwin wrote:
>> The branch main has been updated by jhb:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=9d324b5ffc8a783ceff2a78dea19602a1d8f045a
>>
>> commit 9d324b5ffc8a783ceff2a78dea19602a1d8f045a
>> Author:     John Baldwin <jhb at FreeBSD.org>
>> AuthorDate: 2021-09-25 18:51:01 +0000
>> Commit:     John Baldwin <jhb at FreeBSD.org>
>> CommitDate: 2021-09-25 18:52:10 +0000
>>
>>     mount: Don't pass a NULL format string to xo_err().
>>
>>     This fixes a -Wformat error from GCC 9.
>>
>>     Fixes:          e725ee7eb672 mount: add libxo(3) support
> 
> Sorry, I missed that. Thanks for fixing it!

No worries.  I'm not sure why clang's -Wformat doesn't catch this.

-- 
John Baldwin


More information about the dev-commits-src-all mailing list