From 116752c898ac44fb60afc19c748f7b62b96df304 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 24 Sep 2015 23:09:17 +0000 Subject: add a small hint that you'll get EBUSY if you forget to wait. ok guenther --- lib/libc/sys/ptrace.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 58a61c9eeb5..5720fedb864 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ptrace.2,v 1.33 2015/09/10 17:55:21 schwarze Exp $ +.\" $OpenBSD: ptrace.2,v 1.34 2015/09/24 23:09:16 tedu Exp $ .\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $ .\" .\" This file is in the public domain. -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: September 24 2015 $ .Dt PTRACE 2 .Os .Sh NAME @@ -538,7 +538,7 @@ some process other than the one making the request. .It A request (other than .Dv PT_ATTACH ) -specified a process that wasn't stopped. +specified a process that wasn't stopped and waited for. .El .It Bq Er EPERM .Bl -bullet -compact -- cgit v1.2.3