diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-08 20:46:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-08 20:46:50 +0000 |
commit | 455da5aee242b188a5c369d8eed122ca7d794a99 (patch) | |
tree | a201172fb7ddc6cd0f8249b2266b1ff7727521e4 /sys/arch/alpha/pci/pci_kn300.c | |
parent | 99aa65719601eb340e970ab268bc9c21d0e1d3eb (diff) |
Format string fixes for alpha kernels, and remove -Wno-format
Diffstat (limited to 'sys/arch/alpha/pci/pci_kn300.c')
-rw-r--r-- | sys/arch/alpha/pci/pci_kn300.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/pci_kn300.c b/sys/arch/alpha/pci/pci_kn300.c index 2af6cceeb4e..040097f4127 100644 --- a/sys/arch/alpha/pci/pci_kn300.c +++ b/sys/arch/alpha/pci/pci_kn300.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_kn300.c,v 1.5 2012/12/05 23:20:10 deraadt Exp $ */ +/* $OpenBSD: pci_kn300.c,v 1.6 2014/05/08 20:46:49 miod Exp $ */ /* $NetBSD: pci_kn300.c,v 1.28 2005/12/11 12:16:17 christos Exp $ */ /* @@ -182,7 +182,7 @@ dec_kn300_intr_string(ccv, ih) if (irq >= NIRQ) panic("dec_kn300_intr_string: bogus kn300 IRQ 0x%x", irq); - snprintf(irqstr, sizeof irqstr, "kn300 irq %ld", irq); + snprintf(irqstr, sizeof irqstr, "kn300 irq %d", irq); return (irqstr); } |