diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/getrpcent.3 | 2 | ||||
-rw-r--r-- | lib/libc/rpc/svc_run.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/rpc/getrpcent.3 b/lib/libc/rpc/getrpcent.3 index 5d70079..20e0256 100644 --- a/lib/libc/rpc/getrpcent.3 +++ b/lib/libc/rpc/getrpcent.3 @@ -10,7 +10,7 @@ .Nm setrpcent .Nd get RPC entry .Sh SYNOPSIS -.Fd #include <netdb.h> +.Fd #include <rpc/rpc.h> .Ft struct rpcent * .Fn getrpcent void .Ft struct rpcent * diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c index 896aa12..0692c25 100644 --- a/lib/libc/rpc/svc_run.c +++ b/lib/libc/rpc/svc_run.c @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$Id: svc_run.c,v 1.4 1996/12/30 15:14:29 peter Exp $"; +static char *rcsid = "$Id: svc_run.c,v 1.7 1997/02/22 15:01:32 peter Exp $"; #endif /* @@ -79,7 +79,7 @@ svc_run() free(fds); continue; default: - /* XXX What the hell?? what if fds == NULL?? */ + /* if fds == NULL, select() can't return a result */ svc_getreqset2(fds, svc_maxfd + 1); free(fds); } |