diff mbox

pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP

Message ID 1466176096-22478-1-git-send-email-brogers@suse.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bruce Rogers June 17, 2016, 3:08 p.m. UTC
Signed-off-by: Bruce Rogers <brogers@suse.com>
---
 hw/i386/kvm/i8259.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tokarev July 26, 2016, 12:33 p.m. UTC | #1
Applied to -trivial, thanks!

/mjt
diff mbox

Patch

diff --git a/hw/i386/kvm/i8259.c b/hw/i386/kvm/i8259.c
index 2b207de..11d1b72 100644
--- a/hw/i386/kvm/i8259.c
+++ b/hw/i386/kvm/i8259.c
@@ -92,7 +92,7 @@  static void kvm_pic_put(PICCommonState *s)
 
     ret = kvm_vm_ioctl(kvm_state, KVM_SET_IRQCHIP, &chip);
     if (ret < 0) {
-        fprintf(stderr, "KVM_GET_IRQCHIP failed: %s\n", strerror(ret));
+        fprintf(stderr, "KVM_SET_IRQCHIP failed: %s\n", strerror(ret));
         abort();
     }
 }