A modest proposal for better errno values...

Thomas David Rivers rivers at dignus.com
Tue May 13 04:26:10 PDT 2003


Robert Klein <RoKlein at roklein.de> wrote:
> 
> 
> On Tuesday 13 May 2003 12:05, Poul-Henning Kamp wrote:
> > This error is currently used exactly one place in our kernel, where
> > it indicates that somebody with a FreeBSD commit bit or similar
> > level of clue has goofed up some code in such a way as to seriously
> > put users disk content at risk.
> 
> mm, if the programmer "goofed up", why not name it
> EGOOFUP ?  sounds kinda more descriptive than "DOOFUS"...
> 
> (jumping into shelter...)
> 
> Robert

I think Robert is "on to" something here...

But - EGOOFUP isn't descriptive enough for the situation
Poul-Henning writes about...

How about

	EKERNERR  	/* A programming error in the kernel */


Wouldn't that be descriptive of the situation without insulting
anyone?

	- Just a thought -
	  - Dave Rivers -

--
rivers at dignus.com                        Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com


More information about the freebsd-hackers mailing list