summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd/amq
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-22 23:12:08 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-22 23:12:08 +0000
commit970092985ad879d26c5afed6caef706fc31d324d (patch)
tree303043223ee3e48c76507f5145b772cb2a2ee3b6 /usr.sbin/amd/amq
parent761b22f4a33501b0c0f87df699d6b80300701a16 (diff)
downloadFreeBSD-src-970092985ad879d26c5afed6caef706fc31d324d.zip
FreeBSD-src-970092985ad879d26c5afed6caef706fc31d324d.tar.gz
Make the argument handling for select() less bogus. Also, move the
amq service from UDP to TCP for better reliability.
Diffstat (limited to 'usr.sbin/amd/amq')
-rw-r--r--usr.sbin/amd/amq/amq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/amd/amq/amq.c b/usr.sbin/amd/amq/amq.c
index 082a681..a9ac71c 100644
--- a/usr.sbin/amd/amq/amq.c
+++ b/usr.sbin/amd/amq/amq.c
@@ -37,7 +37,7 @@
*
* @(#)amq.c 8.1 (Berkeley) 6/7/93
*
- * $Id$
+ * $Id: amq.c,v 1.4 1997/02/22 16:02:07 peter Exp $
*
*/
@@ -54,7 +54,7 @@ char copyright[] = "\
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$Id$";
+static char rcsid[] = "$Id: amq.c,v 1.4 1997/02/22 16:02:07 peter Exp $";
static char sccsid[] = "@(#)amq.c 8.1 (Berkeley) 6/7/93";
#endif /* not lint */
@@ -409,7 +409,7 @@ Usage: %s [-h host] [[-f] [-m] [-v] [-s]] | [[-u] directory ...]] |\n\
/*
* Create RPC endpoint
*/
- s = privsock(SOCK_STREAM);
+ s = RPC_ANYSOCK;
clnt = clnttcp_create(&server_addr, AMQ_PROGRAM, AMQ_VERSION, &s, 0, 0);
if (clnt == 0) {
close(s);
OpenPOWER on IntegriCloud