[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user/1881: output in syslog differs on how you call sliplogin



The following reply was made to PR user/1881; it has been noted by GNATS.

From: Brian Poole <raj_(_at_)_cerias_(_dot_)_purdue_(_dot_)_edu>
To: gnats_(_at_)_openbsd_(_dot_)_org
Cc:  Subject: Re: user/1881: output in syslog differs on how you call sliplogin
Date: Fri, 15 Jun 2001 12:48:53 -0500

 blah... change the *name++ to name++.. 
 
 --- sliplogin.c Fri Jun 15 12:47:37 2001
 +++ sliplogin.2.c       Fri Jun 15 12:47:47 2001
 @@ -224,6 +224,8 @@
  
         if ((name = strrchr(argv[0], '/')) == NULL)
                 name = argv[0];
 +       else
 +               name++;
         s = getdtablesize();
         for (fd = 3 ; fd < s ; fd++)
                 (void) close(fd);
 



Visit your host, monkey.org