setenv cleanup of usr.sbin/resident

Liam J. Foy liamfoy at gmail.com
Fri Apr 22 10:03:56 PDT 2005


On 4/22/05, Joe Talbott <josepht at xxxxxxxxxx> wrote:
> On Thu, Apr 21, 2005 at 08:42:01PM +0200, liamfoy at xxxxxxxxxxxxx wrote:
> >
> > Joe Talbott <jtalbott at xxxxxxxxx> wrote on 21.04.2005, 16:22:45:
> > > Here's a patch to check the return value of setenv () in
> > > usr.sbin/resident/resident.c.
> > >
> > > Joe
> >
> > Hey Joe,
> >
> > This is ok except we dont role our own err/warn messages. Could
> > you replace the fprintf() and strerror() with warn()? :-)
> >
> 
> Oh and here's the patch. Doh!
> 
> Joe

Committed with minor changes. Thanks!

-- 
Liam J. Foy
DragonFly BSD Committer
http://www.bsd-systems.co.uk






More information about the Submit mailing list