From 9cb092c8766601c50f5faa37e8ece7d5334c7f0d Mon Sep 17 00:00:00 2001 From: riz Date: Wed, 29 Mar 2006 19:36:55 +0000 Subject: [PATCH] Fix up the description of m_copyback_cow(), which was at best ambiguous, and at worst, wrong. --- share/man/man9/mbuf.9 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 23cf057ca0a7..45a09146c664 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: mbuf.9,v 1.40 2005/08/23 09:34:11 yamt Exp $ +.\" $NetBSD: mbuf.9,v 1.41 2006/03/29 19:36:55 riz Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -34,7 +34,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd August 23, 2005 +.Dd March 29, 2006 .Dt MBUF 9 .Os .Sh NAME @@ -360,12 +360,11 @@ on read-only mbufs. If needed, .Fn m_copyback_cow automatically allocates new mbufs and adjusts the chain. -It returns a pointer to the resulting mbuf chain on success. +On success, it returns a pointer to the resulting mbuf chain, +and frees the original mbuf +.Fa m0 . Otherwise, it returns .Dv NULL . -In that case, the original mbuf -.Fa m0 -will be freed. The .Fa how parameter is a choice of