[net.bugs.4bsd] Bug in mesg

edwards (01/15/83)

#N:uicsovax:2200008:000:375
uicsovax!edwards    Jan 14 23:29:00 1983

	I may have found a bug in mesg(1).  The function argument
  for the newmode call should be unsigned:

	newmode(m)
	unsigned int m;
	{
		if(chmod(tty,m)<0)
			error("cannot change mode");
	}

  If it isn't declared as unsigned--biff(1) and mesg(1) won't function
  separately (But then that may have been planned.)


				Alan Edwards
				(...pur-ee!uiucdcs!uicsovax!edwards)