summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2017-05-19 14:42:00 +0000
committerchristos <christos@NetBSD.org>2017-05-19 14:42:00 +0000
commit8b013b791852fc540c7f3358efb5083adb3d690e (patch)
tree2e62bdc95fb35d4b9b436a4502c30ab14ee8ee78 /sys
parent7f07f6ad614e0b667c70862a890a556582886cfe (diff)
mention the man page instead of the command.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_map.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index 3e3ecbd9b5a..779351172b6 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -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 @@ uvm_map(struct vm_map *map, vaddr_t *startp /* IN/OUT */, vsize_t size,
#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