diff options
author | 2014-05-04 17:34:17 +0000 | |
---|---|---|
committer | 2014-05-04 17:34:17 +0000 | |
commit | b5ca634a731d9343848bbc952f43776c476f1478 (patch) | |
tree | 622c7fb1542ba676ac2d464cbe9fd3b10c874cf8 | |
parent | Enable the assembler code for BN, which was lost quite some time ago. (diff) | |
download | wireguard-openbsd-b5ca634a731d9343848bbc952f43776c476f1478.tar.xz wireguard-openbsd-b5ca634a731d9343848bbc952f43776c476f1478.zip |
change type of handle var to u_int16_t
This fixes a format string warning. No change to the format string is
necessary.
suggested by kettenis@
-rw-r--r-- | sys/dev/pci/mpii.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index b4cc347df3f..c268604a4c9 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpii.c,v 1.93 2014/04/25 09:43:04 jsg Exp $ */ +/* $OpenBSD: mpii.c,v 1.94 2014/05/04 17:34:17 sf Exp $ */ /* * Copyright (c) 2010, 2012 Mike Belopuhov * Copyright (c) 2009 James Giannoules @@ -1704,7 +1704,7 @@ mpii_event_sas(void *xsc, void *x) struct mpii_evt_phy_entry *pe; struct mpii_device *dev; int i; - u_int64_t handle; + u_int16_t handle; mtx_enter(&sc->sc_evt_sas_mtx); rcb = SIMPLEQ_FIRST(&sc->sc_evt_sas_queue); |