diff --git a/sys/dev/mii/urlphy.c b/sys/dev/mii/urlphy.c index 118ed8be560f..7d66ed756bdf 100644 --- a/sys/dev/mii/urlphy.c +++ b/sys/dev/mii/urlphy.c @@ -1,4 +1,4 @@ -/* $NetBSD: urlphy.c,v 1.13 2006/02/27 02:59:24 thorpej Exp $ */ +/* $NetBSD: urlphy.c,v 1.14 2006/02/28 22:40:15 kleink Exp $ */ /* * Copyright (c) 2001, 2002 * Shingo WATANABE . All rights reserved. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.13 2006/02/27 02:59:24 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.14 2006/02/28 22:40:15 kleink Exp $"); #include #include @@ -87,7 +87,7 @@ urlphy_match(struct device *parent, struct cfdata *match, void *aux) /* * Make sure the parent is an 'url' device. */ - if (device_is_a(parent, "url") != 0) + if (!device_is_a(parent, "url")) return(0); return (10);