mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Fixed breakage of a check for boolean true by misusing NULL in rev.1.407.
This became fatal when the type of NULL was changed recently.
This commit is contained in:
parent
d571e11b4f
commit
ab99f13b16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123796
@ -1066,7 +1066,7 @@ sioattach(dev, xrid, rclk)
|
||||
com->tx_fifo_size = 1024;
|
||||
break;
|
||||
}
|
||||
if (com->esp != NULL)
|
||||
if (com->esp)
|
||||
break;
|
||||
#endif
|
||||
com->tx_fifo_size = COM_FIFOSIZE(flags);
|
||||
@ -1078,7 +1078,7 @@ sioattach(dev, xrid, rclk)
|
||||
break;
|
||||
}
|
||||
#ifdef COM_ESP
|
||||
if (com->esp != NULL) {
|
||||
if (com->esp) {
|
||||
/*
|
||||
* Set 16550 compatibility mode.
|
||||
* We don't use the ESP_MODE_SCALE bit to increase the
|
||||
|
Loading…
Reference in New Issue
Block a user