mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
MFC r343496:
pcf(4): fix parentheses in if condition PR: 210709 Submitted by: David Binderman <dcb314@hotmail.com>
This commit is contained in:
parent
3ea7774c65
commit
b5a8d779b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=343643
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user