Skip to contentSkip to conversation

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

PATCH Applied Bruce Rogers 2 participants 2 messages Jun 17, 2016 – Jul 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP

---
 hw/i386/kvm/i8259.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/kvm/i8259.c +1 -1
index 2b207de..11d1b72 100644
@@ -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();
     }
 }
Signature · 1 line
1.9.0