From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2d02a062f561ff0711a63707cb49cb26@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] errstr(2) In-Reply-To: <200403251239.i2PCd16P061964@adat.davidashen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 25 Mar 2004 07:52:42 -0500 Topicbox-Message-UUID: 412398be-eacd-11e9-9e20-41e7f4b1d025 On Thu Mar 25 07:41:52 EST 2004, dvd@davidashen.net wrote: > I can't learn to ask my questions right. I am sorry for that. > My question was whether the code was right (in generrstr) > or accidental. In other words are we stupid or just incompetent? We will always have some limit to error strings in the kernel though it may not always be the current 128 bytes. You buffer len should be more determined by how long an error string you might consider useful.