Hi,
  While creating a portable version of imsg, I noticed
a small typo in the imsg_init.3 man page which says
the returned value is 'len' instead of 'datalen'.
Attached the patch to fix it.

OK?

Cheers,
Aisha

diff --git a/lib/libutil/imsg_init.3 b/lib/libutil/imsg_init.3
index 18720d1d59b..e7dc6ab928d 100644
--- a/lib/libutil/imsg_init.3
+++ b/lib/libutil/imsg_init.3
@@ -186,7 +186,7 @@ appends to
 bytes of ancillary data pointed to by
 .Fa data .
 It returns
-.Fa len
+.Fa datalen
 if it succeeds, \-1 otherwise.
 .Pp
 .Fn imsg_close

Reply via email to