pcf(4): fix parentheses in if condition

PR:		210709
Submitted by:	David Binderman <dcb314@hotmail.com>
MFC after:	5 days
This commit is contained in:
Andriy Voskoboinyk 2019-01-27 15:19:28 +00:00
parent c188c336f3
commit 21b56f2920

View File

@ -111,7 +111,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 successful for the specified base io */