From: Avi Kivity Date: Sun, 22 Jun 2008 13:46:22 +0000 (+0300) Subject: KVM: MMU: Fix printk format X-Git-Tag: v2.6.27-rc1~968^2~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=db475c39eca0f2e44953d96e768d7ce808ab85bd;p=linux-2.6-omap-h63xx.git KVM: MMU: Fix printk format Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 5994645dcee..1fd8e3b58cc 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -1116,7 +1116,7 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *shadow_pte, mark_page_dirty(vcpu->kvm, gfn); pgprintk("%s: setting spte %llx\n", __func__, spte); - pgprintk("instantiating %s PTE (%s) at %d (%llx) addr %llx\n", + pgprintk("instantiating %s PTE (%s) at %ld (%llx) addr %p\n", (spte&PT_PAGE_SIZE_MASK)? "2MB" : "4kB", (spte&PT_WRITABLE_MASK)?"RW":"R", gfn, spte, shadow_pte); set_shadow_pte(shadow_pte, spte);