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

Re: [PATCH v2 14/15] qga/commands-win32: Use error_setg_win32() for better error messages



On 21/11/25 13:14, Markus Armbruster wrote:
We include numeric GetLastError() codes in error messages in a few
places, like this:

     error_setg(errp, "GRIPE: %d", (int)GetLastError());

Show text instead, like this:

     error_setg_win32(errp, GetLastError(), "GRIPE");

Signed-off-by: Markus Armbruster <armbru@xxxxxxxxxx>
---
  qga/commands-win32.c | 16 ++++++++--------
  1 file changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.