On Mon, Nov 23, 2015 at 12:14:24PM -0800, Mike Larkin wrote:
> On Mon, Nov 23, 2015 at 11:48:04AM -0800, Mike Larkin wrote:
> > On Mon, Nov 23, 2015 at 08:36:23PM +0100, Cesare Gargano wrote:
> > > Hi,
> > > newline for vmd -h.
> > >
> > > -
> > > C.
> > >
> > > Index: vmd.c
> > > ===================================================================
> > > RCS file: /cvs/src/usr.sbin/vmd/vmd.c,v
> > > retrieving revision 1.4
> > > diff -u -p -r1.4 vmd.c
> > > --- vmd.c 23 Nov 2015 13:04:49 -0000 1.4
> > > +++ vmd.c 23 Nov 2015 19:28:04 -0000
> > > @@ -177,7 +177,7 @@ __dead void
> > > usage(void)
> > > {
> > > extern char *__progname;
> > > - fprintf(stderr, "usage: %s [-dv]", __progname);
> > > + fprintf(stderr, "usage: %s [-dv]\n", __progname);
> > > exit(1);
> > > }
> > >
> > >
> >
> > Hmm I thought I had removed that function entirely. I'll go purge it
> > since it's not used this way anymore.
> >
> > -ml
> >
>
> Disregard previous. Lots of development going on in this area and I see
> reyk added this back.
>
Right, I added it with the log.c import, because we can run and log in
foreground or background now. I semi-automatically removed all the
fprintf newlines when converting the messages to log_*() that don't
need a newline. The usage() one is the only remaining fprintf, and it
does need its newline ;)
Reyk