Re: VT_LOCKSWITCH

Dima Dorfman <[email protected]>
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
Peter Pentchev <[email protected]> wrote:
> On Tue, May 28, 2002 at 08:54:20AM +0000, Dima Dorfman wrote:
> > +void
> > +set_lockswitch(char *arg)
> > +{
> > +	int data;
> > +
> > +	if (!strcmp(arg, "off"))
> > +		data =3D 0x01;
> > +	else if (!strcmp(arg, "on"))
> > +		data =3D 0x02;
> > +	else {
> > +		warnx("argument to -S must either on or off");
> 
> A very, very minor nit: should this not be 'must *be* either on or off'? :)

Either that or "must either be".  The same error exists in two other
places in vidcontrol (set_lockswitch() is mostly pasted from
set_mouse()); I'll fix all of them in a separate commit.  Thanks for
catching this!

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.