From: sf Date: Sun, 4 May 2014 17:34:17 +0000 (+0000) Subject: change type of handle var to u_int16_t X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b5ca634a731d9343848bbc952f43776c476f1478;p=openbsd 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@ --- 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);