Give users a hint when their locate database is too small.

Eitan Adler lists at eitanadler.com
Wed Nov 14 16:35:40 UTC 2012


On 14 November 2012 11:32, Warren Block <wblock at wonkity.com> wrote:
> On Tue, 13 Nov 2012, Benjamin Kaduk wrote:
>>>
>>>         if (len < (2*NBG))
>>> -               errx(1, "database too small: %s", db);
>>> +               errx(1, "database too small: %s\nRun
>>> /usr/libexec/locate.updatedb", db);
>>
>>
>> That looks longer than 80 characters, a limit given implicitly in style.9.

I think he meant the source line is too long.


-- 
Eitan Adler


More information about the freebsd-hackers mailing list