From 1d9dbc1a0d38a7c41e9a45a8247ba9d53da78519 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 12 Nov 1997 08:48:13 +0000 Subject: [PATCH] fix return type so that it returns both bytes (instead of just first) Found-by: conrads@neosoft.com Fix-by: Luigi --- contrib/pnpinfo/pnpinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pnpinfo/pnpinfo.c b/contrib/pnpinfo/pnpinfo.c index 6a804fda594e..0e811f235836 100644 --- a/contrib/pnpinfo/pnpinfo.c +++ b/contrib/pnpinfo/pnpinfo.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: pnpinfo.c,v 1.16 1996/05/05 23:56:38 smpatel Exp $ + * $Id: pnpinfo.c,v 1.1.1.1 1997/09/19 15:36:00 jmg Exp $ */ #include @@ -61,7 +61,7 @@ pnp_read(int d) return inb( (rd_port << 2) + 3) & 0xff; } -u_char +u_short pnp_readw(int d) { int c = pnp_read(d) << 8 ;