mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
style: strcmp() does not return a bool.
This commit is contained in:
parent
482e283b1e
commit
52820ec247
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ osf1_ioctl_i(td, uap, cmd, dir, len)
|
|||
* because osf/1 doesn't know about most of them.
|
||||
*/
|
||||
if (ifp->if_type == IFT_ETHER
|
||||
&& strcmp(ifp->if_name, "ti")) { /* looks good */
|
||||
&& strcmp(ifp->if_name, "ti") != 0) { /* looks good */
|
||||
/* walk the address list */
|
||||
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
|
||||
if ((sdl = (struct sockaddr_dl *)ifa->ifa_addr) /* we have an address structure */
|
||||
|
|
|
|||
Loading…
Reference in a new issue