[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rcmd(3) incorrect synopis for iruserok_sa
- To: bugs_(_at_)_openbsd_(_dot_)_org
- Subject: rcmd(3) incorrect synopis for iruserok_sa
- From: Peter Werner <peterw_(_at_)_ifost_(_dot_)_org_(_dot_)_au>
- Date: Thu, 26 Sep 2002 02:26:32 +1000
the manpage says
int
iruserok_sa(const void *sa, int salen, int superuser, const char *ruser);
lib/libc/net/rcmd.c says:
int
iruserok_sa(raddr, rlen, superuser, ruser, luser)
const void *raddr;
int rlen;
int superuser;
const char *ruser, *luser;
the manpage is missing the luser arg.
-pete
--- lib/libc/net/rcmd.3.old Wed Sep 25 16:28:58 2002
+++ lib/libc/net/rcmd.3 Wed Sep 25 16:29:36 2002
@@ -58,7 +58,7 @@
.Ft int
.Fn ruserok "const char *rhost" "int superuser" "const char *ruser" "const char *luser"
.Ft int
-.Fn iruserok_sa "const void *sa" "int salen" "int superuser" "const char *ruser"
+.Fn iruserok_sa "const void *sa" "int salen" "int superuser" "const char *ruser" "const char *luser"
.Sh DESCRIPTION
The
.Fn rcmd
Visit your host, monkey.org