Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix that no major numbers is assigned dynamically i...
details: https://anonhg.NetBSD.org/src/rev/0b6360c5b3f8
branches: trunk
changeset: 536224:0b6360c5b3f8
user: gehenna <gehenna%NetBSD.org@localhost>
date: Wed Sep 11 16:33:03 2002 +0000
description:
fix that no major numbers is assigned dynamically if the
not-listed-in-majors device switch is loaded.
diffstat:
sys/kern/subr_devsw.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 3feb2efaf792 -r 0b6360c5b3f8 sys/kern/subr_devsw.c
--- a/sys/kern/subr_devsw.c Wed Sep 11 15:38:44 2002 +0000
+++ b/sys/kern/subr_devsw.c Wed Sep 11 16:33:03 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_devsw.c,v 1.2 2002/09/06 13:18:43 gehenna Exp $ */
+/* $NetBSD: subr_devsw.c,v 1.3 2002/09/11 16:33:03 gehenna Exp $ */
/*-
* Copyright (c) 2001,2002 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -172,9 +172,9 @@
}
if (i != max_devsw_convs)
continue;
- *devmajor = bmajor;
break;
}
+ *devmajor = bmajor;
}
if (*devmajor >= MAXDEVSW) {
#ifdef DEVSW_DEBUG
@@ -226,9 +226,9 @@
}
if (i != max_devsw_convs)
continue;
- *devmajor = cmajor;
break;
}
+ *devmajor = cmajor;
}
if (*devmajor >= MAXDEVSW) {
#ifdef DEVSW_DEBUG
Home |
Main Index |
Thread Index |
Old Index