[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-commits] [COMMIT 850810d] Improve error reporting on file acce
From: |
malc |
Subject: |
Re: [Qemu-commits] [COMMIT 850810d] Improve error reporting on file access |
Date: |
Tue, 6 Oct 2009 02:04:23 +0400 (MSD) |
On Mon, 5 Oct 2009, Anthony Liguori wrote:
> Gerd Hoffmann wrote:
> > On 10/05/09 22:46, Anthony Liguori wrote:
> >
> > > > The neat being that some of the conditions under which this code runs
> > > > do set errno while others have nothing to do with it..
> >
> > > Yeah but I figured that a bad errmsg is more useful than nothing.
> >
> > You mean those funny things like "open $file failed: Success"?
> > Not so funny in case the errno string is plausible but wrong.
>
> When all you have is an error message to try and do some postmortem, even if
> you know the error message may not be accurate, it at least gives you a little
> bit more information.
Question is of what use is completely bogus information? Might send
someone on the life long search for the problem which isn't there.
--
mailto:address@hidden