From fa1b1bbc3fdf52e20325ea2154b34df8cd0d31a1 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Mon, 24 Sep 2001 06:30:52 +0000 Subject: [PATCH] Correctly document the return value of mb_fixhdr. PR: docs/30697 Submitted by: Jonathan Hanna Reviewed by: bp --- share/man/man9/mbchain.9 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/share/man/man9/mbchain.9 b/share/man/man9/mbchain.9 index a62580d2e08..f00aa41b553 100644 --- a/share/man/man9/mbchain.9 +++ b/share/man/man9/mbchain.9 @@ -136,6 +136,7 @@ field and sets its value to recalculates the length of an mbuf chain and updates the .Va m_pkthdr.len field of the first mbuf in the chain. +It returns the calculated length. .Pp .Fn mb_reserve ensures that the object of the length specified by the @@ -191,8 +192,9 @@ field .Sh RETURN VALUES All .Ft int -functions return zero if successful, -otherwise error code is returned. +functions except +.Fn mb_fixhdr +return zero if successful and an error code otherwise. .Pp .Em Note : after failure of any function, an mbuf chain is left in the broken state,