Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern print kernel module path only in kernels which supp...



details:   https://anonhg.NetBSD.org/src/rev/6adb3eedf6db
branches:  trunk
changeset: 334696:6adb3eedf6db
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Dec 02 13:00:38 2014 +0000

description:
print kernel module path only in kernels which support paths

diffstat:

 sys/kern/kern_module.c     |  5 ++---
 sys/kern/kern_module_vfs.c |  5 +++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r 3aa2b4b4fd96 -r 6adb3eedf6db sys/kern/kern_module.c
--- a/sys/kern/kern_module.c    Tue Dec 02 10:34:27 2014 +0000
+++ b/sys/kern/kern_module.c    Tue Dec 02 13:00:38 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module.c,v 1.101 2014/09/05 06:50:58 matt Exp $   */
+/*     $NetBSD: kern_module.c,v 1.102 2014/12/02 13:00:38 pooka 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.101 2014/09/05 06:50:58 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.102 2014/12/02 13:00:38 pooka Exp $");
 
 #define _MODULE_INTERNAL
 
@@ -373,7 +373,6 @@
        }
 
        sysctl_module_setup();
-       aprint_normal("kern.module.path=%s\n", module_base);
 }
 
 /*
diff -r 3aa2b4b4fd96 -r 6adb3eedf6db sys/kern/kern_module_vfs.c
--- a/sys/kern/kern_module_vfs.c        Tue Dec 02 10:34:27 2014 +0000
+++ b/sys/kern/kern_module_vfs.c        Tue Dec 02 13:00:38 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module_vfs.c,v 1.12 2011/09/14 12:30:20 christos Exp $    */
+/*     $NetBSD: kern_module_vfs.c,v 1.13 2014/12/02 13:00:38 pooka Exp $       */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_module_vfs.c,v 1.12 2011/09/14 12:30:20 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module_vfs.c,v 1.13 2014/12/02 13:00:38 pooka Exp $");
 
 #define _MODULE_INTERNAL
 #include <sys/param.h>
@@ -56,6 +56,7 @@
 module_load_vfs_init(void)
 {
        module_load_vfs_vec = module_load_vfs;
+       aprint_normal("kern.module.path=%s\n", module_base);
 }
 
 int



Home | Main Index | Thread Index | Old Index