[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rcmd(3) incorrect synopis for iruserok_sa

the manpage says

iruserok_sa(const void *sa, int salen, int superuser, const char *ruser);

lib/libc/net/rcmd.c says:

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.


--- 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"
 .Fn rcmd

Visit your host, monkey.org