summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorroy <roy@NetBSD.org>2016-04-12 20:40:43 +0000
committerroy <roy@NetBSD.org>2016-04-12 20:40:43 +0000
commit6c050b738f04d4730b05e930510607d5ecc4e16f (patch)
treef94c8cd6987a3b2631e7c53463512bac28b2e09f /lib/libutil
parentf6e4984d23a4be040675ecae37ead64eece06c4c (diff)
Removed botched debug left over.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/pidfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/pidfile.c b/lib/libutil/pidfile.c
index 27ad0fbd6a5..ff5ba23dd68 100644
--- a/lib/libutil/pidfile.c
+++ b/lib/libutil/pidfile.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pidfile.c,v 1.13 2016/04/12 20:36:35 roy Exp $ */
+/* $NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $ */
/*-
* Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: pidfile.c,v 1.13 2016/04/12 20:36:35 roy Exp $");
+__RCSID("$NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $");
#endif
#include <sys/param.h>
@@ -193,7 +193,7 @@ pidfile_lock(const char *path)
/* If path has changed (no good reason), clean up the old pidfile. */
if (pidfile_fd != -1 && strcmp(pidfile_path, path) != 0)
- r = pidfile_clean();
+ pidfile_clean();
if (pidfile_fd == -1) {
pidfile_fd = open(path,