diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-01-02 10:22:19 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-01-02 10:22:19 +0000 |
commit | 32218c61fcc87143a83351b97af00fbbfe9715ab (patch) | |
tree | c8146e088cef5658aebd36454118a2a2b9bd021d /lib | |
parent | 60ad987ef3a1988b0e37ac136f07b73dfd97ca59 (diff) |
pids should be pid_t, not int
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutil/pidfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/pidfile.c b/lib/libutil/pidfile.c index 945889fc929..e009572db63 100644 --- a/lib/libutil/pidfile.c +++ b/lib/libutil/pidfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pidfile.c,v 1.2 2001/12/08 02:25:06 deraadt Exp $ */ +/* $OpenBSD: pidfile.c,v 1.3 2002/01/02 10:22:18 mpech Exp $ */ /* $NetBSD: pidfile.c,v 1.4 2001/02/19 22:43:42 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$OpenBSD: pidfile.c,v 1.2 2001/12/08 02:25:06 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: pidfile.c,v 1.3 2002/01/02 10:22:18 mpech Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -50,7 +50,7 @@ static const char rcsid[] = "$OpenBSD: pidfile.c,v 1.2 2001/12/08 02:25:06 deraa #include <util.h> static char *pidfile_path; -static int pidfile_pid; +static pid_t pidfile_pid; static void pidfile_cleanup(void); |