summaryrefslogtreecommitdiff
path: root/usr.sbin/portmap
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-04 03:00:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-04 03:00:28 +0000
commitf043eb0a9b5ad482f0b10d4be7cc4c03ee9d30b5 (patch)
treea1b4dec491af3d6eb1017aad676c701cb3214860 /usr.sbin/portmap
parentcb56d78e012b2e8331ea4001c496765ea12d29c5 (diff)
use pid_t
Diffstat (limited to 'usr.sbin/portmap')
-rw-r--r--usr.sbin/portmap/portmap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/portmap/portmap.c b/usr.sbin/portmap/portmap.c
index 684fb9e278b..f306d40e880 100644
--- a/usr.sbin/portmap/portmap.c
+++ b/usr.sbin/portmap/portmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: portmap.c,v 1.15 1998/04/27 02:02:57 mickey Exp $ */
+/* $OpenBSD: portmap.c,v 1.16 1999/01/04 03:00:27 deraadt Exp $ */
/*-
* Copyright (c) 1996, 1997 Theo de Raadt (OpenBSD). All rights reserved.
@@ -44,7 +44,7 @@ char copyright[] =
#if 0
static char sccsid[] = "from: @(#)portmap.c 5.4 (Berkeley) 4/19/91";
#else
-static char rcsid[] = "$OpenBSD: portmap.c,v 1.15 1998/04/27 02:02:57 mickey Exp $";
+static char rcsid[] = "$OpenBSD: portmap.c,v 1.16 1999/01/04 03:00:27 deraadt Exp $";
#endif
#endif /* not lint */
@@ -572,7 +572,8 @@ callit(rqstp, xprt)
struct pmaplist *pml;
u_short port;
struct sockaddr_in me;
- int pid, so = -1, dontblock = 1;
+ pid_t pid;
+ int so = -1, dontblock = 1;
CLIENT *client;
struct authunix_parms *au = (struct authunix_parms *)rqstp->rq_clntcred;
struct timeval timeout;