diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-28 07:03:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-28 07:03:49 +0000 |
commit | 427354c6146786ff2e7c23b0c93956082f11ff1a (patch) | |
tree | ad57db6efba96333cee3c6690cbb5a6a93d0ddb2 /lib/libutil/pidfile.c | |
parent | 1d2f6cbd395fd634542591dd7388b0ab48c7e5c8 (diff) |
knf; otto ok
Diffstat (limited to 'lib/libutil/pidfile.c')
-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 7c5a1e7453a..532e63c42b1 100644 --- a/lib/libutil/pidfile.c +++ b/lib/libutil/pidfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pidfile.c,v 1.5 2002/05/26 09:29:02 deraadt Exp $ */ +/* $OpenBSD: pidfile.c,v 1.6 2004/05/28 07:03:47 deraadt 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.5 2002/05/26 09:29:02 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: pidfile.c,v 1.6 2004/05/28 07:03:47 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -59,9 +59,9 @@ extern char *__progname; int pidfile(const char *basename) { - FILE *f; int save_errno; pid_t pid; + FILE *f; if (basename == NULL) basename = __progname; |