Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix compilation.
details: https://anonhg.NetBSD.org/src/rev/8b8d0d8ae73c
branches: trunk
changeset: 336624:8b8d0d8ae73c
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 07 23:20:19 2015 +0000
description:
Fix compilation.
diffstat:
sys/kern/kern_module.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 7abb7948dd92 -r 8b8d0d8ae73c sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Sat Mar 07 22:31:24 2015 +0000
+++ b/sys/kern/kern_module.c Sat Mar 07 23:20:19 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_module.c,v 1.103 2015/02/28 23:04:34 jmcneill Exp $ */
+/* $NetBSD: kern_module.c,v 1.104 2015/03/07 23:20:19 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.103 2015/02/28 23:04:34 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.104 2015/03/07 23:20:19 christos Exp $");
#define _MODULE_INTERNAL
@@ -966,8 +966,8 @@
* available for each architecture, so we don't
* print an error if they are missing.
*/
- if ((modclass != MODULE_CLASS_EXEC || error != ENOENT) &&
- root_device != NULL)
+ if ((modclass != MODULE_CLASS_EXEC || error != ENOENT)
+ && root_device != NODEV)
module_error("vfs load failed for `%s', "
"error %d", name, error);
#endif
Home |
Main Index |
Thread Index |
Old Index