Module Name:    src
Committed By:   ozaki-r
Date:           Thu Nov 20 15:43:52 UTC 2014

Modified Files:
        src/share/man/man9: callout.9

Log Message:
Make it clear that we should use not callout_stop but callout_halt before 
callout_destroy


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/share/man/man9/callout.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/callout.9
diff -u src/share/man/man9/callout.9:1.27 src/share/man/man9/callout.9:1.28
--- src/share/man/man9/callout.9:1.27	Sun Jul 27 21:35:07 2014
+++ src/share/man/man9/callout.9	Thu Nov 20 15:43:52 2014
@@ -1,4 +1,4 @@
-.\"	$NetBSD: callout.9,v 1.27 2014/07/27 21:35:07 riastradh Exp $
+.\"	$NetBSD: callout.9,v 1.28 2014/11/20 15:43:52 ozaki-r Exp $
 .\"
 .\" Copyright (c) 2000, 2003, 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 2, 2013
+.Dd November 21, 2014
 .Dt CALLOUT 9
 .Os
 .Sh NAME
@@ -116,7 +116,11 @@ should always be called when the callout
 when a device is being detached).
 The callout should be stopped before
 .Fn callout_destroy
-is called.
+is called by calling
+.Fn callout_halt .
+Note that
+.Fn callout_stop
+shouldn't be used for this purpose.
 .Pp
 The
 .Fn callout_reset

Reply via email to