Module Name:    src
Committed By:   christos
Date:           Mon Dec 30 17:48:10 UTC 2024

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

Log Message:
When deprecating something we should mention what is the replacement!


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man9/powerhook_establish.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/powerhook_establish.9
diff -u src/share/man/man9/powerhook_establish.9:1.11 src/share/man/man9/powerhook_establish.9:1.12
--- src/share/man/man9/powerhook_establish.9:1.11	Fri May 15 02:40:15 2009
+++ src/share/man/man9/powerhook_establish.9	Mon Dec 30 12:48:10 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: powerhook_establish.9,v 1.11 2009/05/15 06:40:15 wiz Exp $
+.\"	$NetBSD: powerhook_establish.9,v 1.12 2024/12/30 17:48:10 christos Exp $
 .\"
 .\" Copyright (c) 1999 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 May 14, 2009
+.Dd December 30, 2024
 .Dt POWERHOOK_ESTABLISH 9
 .Os
 .Sh NAME
@@ -44,6 +44,9 @@
 .Em The
 .Nm
 .Em API is deprecated.
+See
+.Xr pmf 9 
+for replacement functionality.
 .Pp
 The
 .Fn powerhook_establish
@@ -52,7 +55,7 @@ function adds
 of the list of hooks invoked by
 .Xr dopowerhooks 9
 at power change.
-When invoked, the hook function
+ invoked, the hook function
 .Fa fn
 will be passed the new power state as the first argument and
 .Fa arg

Reply via email to