From 9d7299e851092e181d3131d4ae80d3112ed189ee Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 15 Mar 2004 09:13:11 +0000 Subject: more accurate msg, pr3713 from Andre Lucas --- usr.sbin/procmap/procmap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.sbin/procmap/procmap.c') 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]; -- cgit v1.2.3