Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm mention the man page instead of the command.



details:   https://anonhg.NetBSD.org/src/rev/1f44cd7bc10a
branches:  trunk
changeset: 824036:1f44cd7bc10a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 19 14:42:00 2017 +0000

description:
mention the man page instead of the command.

diffstat:

 sys/uvm/uvm_map.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 3169fd82633a -r 1f44cd7bc10a sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Fri May 19 14:38:46 2017 +0000
+++ b/sys/uvm/uvm_map.c Fri May 19 14:42:00 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.345 2017/05/19 14:38:46 christos Exp $   */
+/*     $NetBSD: uvm_map.c,v 1.346 2017/05/19 14:42:00 christos Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.345 2017/05/19 14:38:46 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.346 2017/05/19 14:42:00 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pax.h"
@@ -1067,9 +1067,8 @@
 #ifndef __USER_VA0_IS_SAFE
        if ((flags & UVM_FLAG_FIXED) && *startp == 0 &&
            !VM_MAP_IS_KERNEL(map) && user_va0_disable) {
-               uprintf("%s: process wants to map page 0; "
-                   "run 'sysctl -w vm.user_va0_disable=0' to enable access.\n",
-                   __func__);
+               uprintf("%s: process wants to map virtual address 0; see "
+                   "vm.user_va0_disable in sysctl(7).\n" __func__);
                return EACCES;
        }
 #endif



Home | Main Index | Thread Index | Old Index