summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-26 09:32:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-26 09:32:45 +0000
commit5d58b43ccc36e1e4b452751a9a05b9caded186bd (patch)
treedcc665a69529247e4ba3220f45c2efbf443bf58c /usr.sbin/ypserv
parent0a6d77317c9ca30edbf8887482233697b5ec7799 (diff)
pid_t cleanup
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/ypserv/ypserv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv.c b/usr.sbin/ypserv/ypserv/ypserv.c
index cc283d4d5fe..e0073649dca 100644
--- a/usr.sbin/ypserv/ypserv/ypserv.c
+++ b/usr.sbin/ypserv/ypserv/ypserv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypserv.c,v 1.21 2002/02/19 19:39:41 millert Exp $ */
+/* $OpenBSD: ypserv.c,v 1.22 2002/05/26 09:32:44 deraadt Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypserv.c,v 1.21 2002/02/19 19:39:41 millert Exp $";
+static char rcsid[] = "$OpenBSD: ypserv.c,v 1.22 2002/05/26 09:32:44 deraadt Exp $";
#endif
#include <sys/types.h>
@@ -454,8 +454,8 @@ main(argc, argv)
openlog("ypserv", LOG_PID, LOG_DAEMON);
} else {
#ifndef RPC_SVC_FG
- int size;
- int pid, i;
+ int size, i;
+ pid_t pid;
pid = fork();
if (pid < 0) {