diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-05-10 11:49:32 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-05-10 11:49:32 +0000 |
commit | 16bdc6f812e01c8857bf1657c1703e679dd8364f (patch) | |
tree | a2832fb16152a2d75c9223d1ec1676313066b42c /sys/arch/sparc64/dev/vnet.c | |
parent | c835416b9d1b71c21e38f44194d4bee753075101 (diff) |
Some straightforward format string fixes. Also, print both the tx and rx
interrupt vector numbers instead of printing rx; pointed out by florian@
Diffstat (limited to 'sys/arch/sparc64/dev/vnet.c')
-rw-r--r-- | sys/arch/sparc64/dev/vnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c index 9fd0e2f98f7..cb7554a5647 100644 --- a/sys/arch/sparc64/dev/vnet.c +++ b/sys/arch/sparc64/dev/vnet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnet.c,v 1.30 2014/04/03 09:15:06 mpi Exp $ */ +/* $OpenBSD: vnet.c,v 1.31 2014/05/10 11:49:31 kettenis Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -258,7 +258,7 @@ vnet_attach(struct device *parent, struct device *self, void *aux) printf(": can't map interrupt\n"); return; } - printf(": ivec 0x%lx, 0x%lx", sc->sc_tx_sysino, sc->sc_rx_sysino); + printf(": ivec 0x%llx, 0x%llx", sc->sc_tx_sysino, sc->sc_rx_sysino); /* * Un-configure queues before registering interrupt handlers, |