Module Name: src
Committed By: pooka
Date: Sat May 1 23:54:35 UTC 2010
Modified Files:
src/usr.bin/config: sem.c
Log Message:
ignore mainbus in previous for now
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/config/sem.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/config/sem.c
diff -u src/usr.bin/config/sem.c:1.36 src/usr.bin/config/sem.c:1.37
--- src/usr.bin/config/sem.c:1.36 Sat May 1 22:17:58 2010
+++ src/usr.bin/config/sem.c Sat May 1 23:54:35 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: sem.c,v 1.36 2010/05/01 22:17:58 pooka Exp $ */
+/* $NetBSD: sem.c,v 1.37 2010/05/01 23:54:35 pooka Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -1429,7 +1429,7 @@
* is, do stunts. If it isn't, try a device next.
*/
attr = ht_lookup(attrtab, intern(buf));
- if (attr && attr->a_iattr) {
+ if (attr && attr->a_iattr && /*XXX*/strcmp(buf, "mainbus") != 0) {
struct devbase *fakedev;
char fakename[NAMESIZE];