]> Git Repo - qemu.git/blobdiff - qga/channel-win32.c
block/backup: upgrade copy_bitmap to BdrvDirtyBitmap
[qemu.git] / qga / channel-win32.c
index b3597a8a0f4558709c55d12360e8a981fec21b68..c86f4388dbc3a1a33727be76e3f566984ec982a5 100644 (file)
@@ -302,7 +302,8 @@ static gboolean ga_channel_open(GAChannel *c, GAChannelMethod method,
                            OPEN_EXISTING,
                            FILE_FLAG_NO_BUFFERING | FILE_FLAG_OVERLAPPED, NULL);
     if (c->handle == INVALID_HANDLE_VALUE) {
-        g_critical("error opening path %s", newpath);
+        g_critical("error opening path %s: %s", newpath,
+                   g_win32_error_message(GetLastError()));
         return false;
     }
 
This page took 0.024112 seconds and 4 git commands to generate.