summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2003-10-30 23:00:15 +0000
committerbrooks <brooks@FreeBSD.org>2003-10-30 23:00:15 +0000
commit778c2eee4276d3b48a83b3d80320a61f39ea8d83 (patch)
tree1409271bd97295f4350fdd4e06bf9c1c41efb037 /sys/alpha
parent4516581af2fcfc658fea239fb2e97f8f58a3bf4d (diff)
downloadFreeBSD-src-778c2eee4276d3b48a83b3d80320a61f39ea8d83.zip
FreeBSD-src-778c2eee4276d3b48a83b3d80320a61f39ea8d83.tar.gz
style: strcmp() does not return a bool.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/osf1/osf1_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/osf1/osf1_ioctl.c b/sys/alpha/osf1/osf1_ioctl.c
index cfc826e..88892a4 100644
--- a/sys/alpha/osf1/osf1_ioctl.c
+++ b/sys/alpha/osf1/osf1_ioctl.c
@@ -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 */
OpenPOWER on IntegriCloud