diff options
author | jmg <jmg@FreeBSD.org> | 1997-11-12 08:48:13 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 1997-11-12 08:48:13 +0000 |
commit | b1709507f7e1bb5c1912fe422f0bbfa5061309bd (patch) | |
tree | 71d56af1b15a01cb81e3c3a764f1e8900ac0b06c /contrib | |
parent | 5dafd13bb0ab328762d8c106ee8224451484b29e (diff) | |
download | FreeBSD-src-b1709507f7e1bb5c1912fe422f0bbfa5061309bd.zip FreeBSD-src-b1709507f7e1bb5c1912fe422f0bbfa5061309bd.tar.gz |
fix return type so that it returns both bytes (instead of just first)
Found-by: conrads@neosoft.com
Fix-by: Luigi
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pnpinfo/pnpinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pnpinfo/pnpinfo.c b/contrib/pnpinfo/pnpinfo.c index 6a804fd..0e811f2 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 <sys/time.h> @@ -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 ; |