Re: [PATCH v1] fsmonitor: fix incorrect buffer size when printing version number
- Date: Fri, 13 Apr 2018 08:18:08 -0400
- From: Ben Peart <peartben@xxxxxxxxx>
- Subject: Re: [PATCH v1] fsmonitor: fix incorrect buffer size when printing version number
On 4/10/2018 4:17 PM, Eric Sunshine wrote:
On Tue, Apr 10, 2018 at 2:43 PM, Ben Peart <Ben.Peart@xxxxxxxxxxxxx> wrote:
This is a trivial bug fix for passing the incorrect size to snprintf() when
outputing the version. It should be passing the size of the destination buffer
rather than the size of the value being printed.
Signed-off-by: Ben Peart <benpeart@xxxxxxxxxxxxx>
Junio, do you want a re-roll of this simple fix or can you fix the
spelling of the commit message?