NetBSD-Users archive

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

Re: overly-chatty wpi driver



Greg Troxel wrote:
> 
> "Steven M. Bellovin" <smb%cs.columbia.edu@localhost> writes:
> 
> > Second -- what should the return code be?  Right now, it passes back
> > EBUSY, which doesn't seem right per errno(2).  Looking at that man
> > page, there are a few that (to my eye) are a bit more appropriate, but
> > they're still stretching the actual meaning of the error code. 
> > EAGAIN, perhaps?
> 
> Perhaps EACCESS, because the point of the switch is to have something
> that can't be overriden in software.

If I saw EACCESS I would think it was a permissions problem.  

--jkl


Home | Main Index | Thread Index | Old Index