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 <[email protected]>
---
  qga/commands-win32.c | 16 ++++++++--------
  1 file changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to