Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix thinko
details: https://anonhg.NetBSD.org/src/rev/da8362166aaf
branches: trunk
changeset: 336625:da8362166aaf
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 08 01:17:42 2015 +0000
description:
Fix thinko
diffstat:
sys/kern/kern_module.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8b8d0d8ae73c -r da8362166aaf sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Sat Mar 07 23:20:19 2015 +0000
+++ b/sys/kern/kern_module.c Sun Mar 08 01:17:42 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_module.c,v 1.104 2015/03/07 23:20:19 christos Exp $ */
+/* $NetBSD: kern_module.c,v 1.105 2015/03/08 01:17:42 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.104 2015/03/07 23:20:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.105 2015/03/08 01:17:42 christos Exp $");
#define _MODULE_INTERNAL
@@ -967,7 +967,7 @@
* print an error if they are missing.
*/
if ((modclass != MODULE_CLASS_EXEC || error != ENOENT)
- && root_device != NODEV)
+ && root_device != NULL)
module_error("vfs load failed for `%s', "
"error %d", name, error);
#endif
Home |
Main Index |
Thread Index |
Old Index