]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qga/commands.c
qga: Improve guest-exec-status error message
[mirror_qemu.git] / qga / commands.c
index ce172edd2d02dff6518a31a62b3a61a62900af45..88c1c99fe51b55608abd82ce8686fe4ab4e27f8f 100644 (file)
@@ -154,7 +154,7 @@ GuestExecStatus *qmp_guest_exec_status(int64_t pid, Error **errp)
 
     gei = guest_exec_info_find(pid);
     if (gei == NULL) {
-        error_setg(errp, QERR_INVALID_PARAMETER, "pid");
+        error_setg(errp, "PID " PRId64 " does not exist");
         return NULL;
     }