Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2021 18:49:21 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        "Piotr P. Stefaniak" <pstef@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 9d324b5ffc8a - main - mount: Don't pass a NULL format string to xo_err().
Message-ID:  <ca5bb3dd-239c-a7e1-56a7-589c2028c286@FreeBSD.org>
In-Reply-To: <YU9xJXyeJ9340qKe@freefall.freebsd.org>
References:  <202109251852.18PIqN8T032119@gitrepo.freebsd.org> <YU9xJXyeJ9340qKe@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
>> AuthorDate: 2021-09-25 18:51:01 +0000
>> Commit:     John Baldwin <jhb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca5bb3dd-239c-a7e1-56a7-589c2028c286>