svn commit: r263265 - head/sys/boot/uboot/common
Ian Lepore
ian at FreeBSD.org
Mon Mar 17 13:54:54 UTC 2014
Author: ian
Date: Mon Mar 17 13:54:53 2014
New Revision: 263265
URL: http://svnweb.freebsd.org/changeset/base/263265
Log:
Fix the paren nesting so that the network device is probed if the load
device type is either network or wildcard.
Modified:
head/sys/boot/uboot/common/main.c
Modified: head/sys/boot/uboot/common/main.c
==============================================================================
--- head/sys/boot/uboot/common/main.c Mon Mar 17 11:58:48 2014 (r263264)
+++ head/sys/boot/uboot/common/main.c Mon Mar 17 13:54:53 2014 (r263265)
@@ -446,8 +446,8 @@ main(void)
break;
}
- if (load_type == -1 || ((load_type & DEV_TYP_NET) &&
- strcmp(devsw[i]->dv_name, "net") == 0))
+ if ((load_type == -1 || (load_type & DEV_TYP_NET)) &&
+ strcmp(devsw[i]->dv_name, "net") == 0)
break;
}
More information about the svn-src-head
mailing list