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" <> 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.  


Home | Main Index | Thread Index | Old Index