summaryrefslogtreecommitdiff
path: root/usr.sbin/procmap/procmap.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-03-15 09:13:11 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-03-15 09:13:11 +0000
commit9d7299e851092e181d3131d4ae80d3112ed189ee (patch)
tree4831b0ccc7cb67821e22325e5709f0da242a7ed4 /usr.sbin/procmap/procmap.c
parente65d290fd7b8c6ac90fcc054525e4c1d58fea798 (diff)
more accurate msg, pr3713 from Andre Lucas
Diffstat (limited to 'usr.sbin/procmap/procmap.c')
-rw-r--r--usr.sbin/procmap/procmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c
index 2242c9baf34..b4cfde3aa2c 100644
--- a/usr.sbin/procmap/procmap.c
+++ b/usr.sbin/procmap/procmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procmap.c,v 1.14 2004/02/23 21:01:22 tedu Exp $ */
+/* $OpenBSD: procmap.c,v 1.15 2004/03/15 09:13:10 tedu Exp $ */
/* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */
/*
@@ -350,12 +350,10 @@ process_map(kvm_t *kd, pid_t pid, struct kinfo_proc *proc)
return;
}
if (uid != proc->kp_eproc.e_ucred.cr_uid) {
- warnx("other process's maps are restricted");
+ warnx("other users' process maps are restricted");
return;
}
}
-
-
vmspace = &kbit[0];
vm_map = &kbit[1];