|
From: | Anthony Liguori |
Subject: | Re: [Qemu-commits] [COMMIT 850810d] Improve error reporting on file access |
Date: | Mon, 05 Oct 2009 16:40:58 -0500 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090825) |
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.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |