qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/18] error: add error_set_errno and error_setg


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 01/18] error: add error_set_errno and error_setg_errno
Date: Thu, 04 Oct 2012 18:16:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

Il 04/10/2012 18:14, Luiz Capitulino ha scritto:
>> > +void error_set_errno(Error **errp, int os_errno, ErrorClass err_class,
>> > +                     const char *fmt, ...)
> 
> The function's name makes me expect that something else is done with os_errno
                                                     ^^^^

Why something "else"? :)

> other than appending the strerror() string to the user message, but I can't
> suggest anything better (and allows for storing errno in the Error object in
> the future if we want to).

Who knows... :)

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]