diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2001-06-02 11:46:09 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2001-06-02 11:46:09 +0000 |
| commit | 58467b0a9d44b5e80e09e2bd967db585a14d30ca (patch) | |
| tree | 484d335fa49894a29cce8b20e36da161f01503c5 /sys/compat/linux/common/linux_misc.c | |
| parent | e9ff9b9d73ea3b4fc6f2e623d342d0ec413b577a (diff) | |
Slighly improve the PTRACE_CONT comment
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/common/linux_misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c index 95c184e650b..089658f31a4 100644 --- a/sys/compat/linux/common/linux_misc.c +++ b/sys/compat/linux/common/linux_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.c,v 1.89 2001/05/27 21:17:16 manu Exp $ */ +/* $NetBSD: linux_misc.c,v 1.90 2001/06/02 11:46:09 jdolecek Exp $ */ /*- * Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc. @@ -1241,9 +1241,9 @@ linux_sys_ptrace(p, v, retval) /* * Linux ptrace(PTRACE_CONT, pid, 0, 0) means actually - * to continue as the process left off previously, - * i.e. same as if NetBSD ptrace called with - * addr == (caddr_t) 1. + * to continue where the process left off previously. + * The same thing is achieved by addr == (caddr_t) 1 + * on NetBSD, so rewrite 'addr' appropriately. */ if (request == LINUX_PTRACE_CONT && SCARG(uap, addr)==0) SCARG(&pta, addr) = (caddr_t) 1; |
