Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 20:06:31 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197504 - head/sys/dev/atkbdc
Message-ID:  <200909252006.n8PK6VBW038705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Fri Sep 25 20:06:31 2009
New Revision: 197504
URL: http://svn.freebsd.org/changeset/base/197504

Log:
  Fix couple of style nits missed in the previous commit.

Modified:
  head/sys/dev/atkbdc/atkbd.c

Modified: head/sys/dev/atkbdc/atkbd.c
==============================================================================
--- head/sys/dev/atkbdc/atkbd.c	Fri Sep 25 19:59:48 2009	(r197503)
+++ head/sys/dev/atkbdc/atkbd.c	Fri Sep 25 20:06:31 2009	(r197504)
@@ -1101,7 +1101,7 @@ get_typematic(keyboard_t *kbd)
 	bzero(&regs, sizeof(regs));
 	regs.R_AH = 0xc0;
 	x86bios_intr(&regs, 0x15);
-	if ((regs.R_FLG & PSL_C) || regs.R_AH)
+	if ((regs.R_FLG & PSL_C) != 0 || regs.R_AH != 0)
 		return (ENODEV);
 
 	/* Is int 16, function 0x09 supported? */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909252006.n8PK6VBW038705>