From owner-freebsd-hackers@FreeBSD.ORG Tue May 13 04:26:09 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA47237B404 for ; Tue, 13 May 2003 04:26:09 -0700 (PDT) Received: from dignus.com (ip-64-32-254-102.dsl.iad.megapath.net [64.32.254.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id F171943FDF for ; Tue, 13 May 2003 04:26:08 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.11.6/8.11.3) with ESMTP id h4DB6hT01593; Tue, 13 May 2003 07:06:43 -0400 (EDT) (envelope-from rivers@dignus.com) Received: (from rivers@localhost) by lakes.dignus.com (8.11.6/8.11.3) id h4DBPWr23993; Tue, 13 May 2003 07:25:32 -0400 (EDT) (envelope-from rivers) Date: Tue, 13 May 2003 07:25:32 -0400 (EDT) From: Thomas David Rivers Message-Id: <200305131125.h4DBPWr23993@lakes.dignus.com> To: hackers@freebsd.org, jkh@apple.com In-Reply-To: Subject: Re: A modest proposal for better errno values... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 11:26:10 -0000 Robert Klein 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@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com