Author: avos
Date: Fri Feb  1 03:26:10 2019
New Revision: 343643
URL: https://svnweb.freebsd.org/changeset/base/343643

Log:
  MFC r343496:
  pcf(4): fix parentheses in if condition
  
  PR:           210709
  Submitted by: David Binderman <dcb...@hotmail.com>

Modified:
  stable/10/sys/dev/pcf/pcf_isa.c
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/dev/pcf/pcf_isa.c
  stable/12/sys/dev/pcf/pcf_isa.c
Directory Properties:
  stable/11/   (props changed)
  stable/12/   (props changed)

Modified: stable/10/sys/dev/pcf/pcf_isa.c
==============================================================================
--- stable/10/sys/dev/pcf/pcf_isa.c     Fri Feb  1 03:09:11 2019        
(r343642)
+++ stable/10/sys/dev/pcf/pcf_isa.c     Fri Feb  1 03:26:10 2019        
(r343643)
@@ -109,7 +109,7 @@ pcf_isa_probe(device_t dev)
 
        /* The port address must be explicitly specified */
        bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count);
-       if ((error = resource_int_value(PCF_NAME, 0, "port", &port) != 0))
+       if ((error = resource_int_value(PCF_NAME, 0, "port", &port)) != 0)
                return (error);
 
        /* Probe is only successfull for the specified base io */
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to