Re: enc interface errno

2013-09-27 Thread Kenneth R Westerback
On Fri, Sep 27, 2013 at 06:56:04PM +0200, Alexander Bluhm wrote: > On Fri, Sep 27, 2013 at 12:00:40PM -0400, Kenneth R Westerback wrote: > > I'm not sure what the 'rule' is regarding ENOMEM and ENOBUFS, but > > ENOMEN seems more appropriate to me. > > man 2 errno > > 12 ENOMEM Cannot allocat

video.4 correction.

2013-09-27 Thread Remco
This should be more in line with the header. Index: video.4 === RCS file: /home/cvs/src/share/man/man4/video.4,v retrieving revision 1.9 diff -u -r1.9 video.4 --- video.4 29 Mar 2011 20:30:51 - 1.9 +++ video.4 27 Sep

Re: enc interface errno

2013-09-27 Thread Alexander Bluhm
On Fri, Sep 27, 2013 at 12:00:40PM -0400, Kenneth R Westerback wrote: > I'm not sure what the 'rule' is regarding ENOMEM and ENOBUFS, but > ENOMEN seems more appropriate to me. man 2 errno 12 ENOMEM Cannot allocate memory. The new process image required more memory than was allo

Re: enc interface errno

2013-09-27 Thread Kenneth R Westerback
On Fri, Sep 27, 2013 at 03:24:25PM +0200, Alexander Bluhm wrote: > Hi, > > The error return codes for the enc interface seem quite inconsistent. > Always return the appropriate errno. > > ok? > > bluhm > > Index: net/if_enc.c > ===

Re: enc interface errno

2013-09-27 Thread Reyk Floeter
On Fri, Sep 27, 2013 at 03:24:25PM +0200, Alexander Bluhm wrote: > The error return codes for the enc interface seem quite inconsistent. > Always return the appropriate errno. > > ok? > OK Reyk > bluhm > > Index: net/if_enc.c > =

Re: enc interface errno

2013-09-27 Thread Mike Belopuhov
On 27 September 2013 15:24, Alexander Bluhm wrote: > Hi, > > The error return codes for the enc interface seem quite inconsistent. > Always return the appropriate errno. > > ok? > > bluhm > OK

enc interface errno

2013-09-27 Thread Alexander Bluhm
Hi, The error return codes for the enc interface seem quite inconsistent. Always return the appropriate errno. ok? bluhm Index: net/if_enc.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/if_enc.c,v retrieving revision 1.52 dif