From 9c95126602d3b52ca1a309fb655e3af0013b0bc8 Mon Sep 17 00:00:00 2001 From: ozaki-r Date: Thu, 20 Nov 2014 15:43:52 +0000 Subject: [PATCH] Make it clear that we should use not callout_stop but callout_halt before callout_destroy --- share/man/man9/callout.9 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/share/man/man9/callout.9 b/share/man/man9/callout.9 index fe80907a4d72..29a099f59fc9 100644 --- a/share/man/man9/callout.9 +++ b/share/man/man9/callout.9 @@ -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 is no longer required (for instance, 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