Index: getprogname.3
===================================================================
RCS file: /cvs/src/lib/libc/gen/getprogname.3,v
retrieving revision 1.4
diff -u -p -r1.4 getprogname.3
--- getprogname.3       31 Jul 2013 16:43:27 -0000      1.4
+++ getprogname.3       4 May 2015 20:34:35 -0000
@@ -55,7 +55,7 @@ or other diagnostic output.
 The
 .Fn setprogname
 function sets the name of the program to be the last path component of the
-.Fa progname
+.Fa name
 argument.
 Internally, only the pointer to the given string is kept as the program name,
 so it should not be modified and the storage for the string must remain valid
@@ -65,9 +65,9 @@ for the rest of the program's lifetime.
 .Xr setproctitle 3
 .Sh HISTORY
 The
-.Nm getprogname
+.Fn getprogname
 and
-.Nm setprogname
+.Fn setprogname
 functions first appeared in
 .Ox 5.4
 as function-based wrappers around the

Reply via email to