Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil Removed botched debug left over.



details:   https://anonhg.NetBSD.org/src/rev/7333473a20b0
branches:  trunk
changeset: 344719:7333473a20b0
user:      roy <roy%NetBSD.org@localhost>
date:      Tue Apr 12 20:40:43 2016 +0000

description:
Removed botched debug left over.

diffstat:

 lib/libutil/pidfile.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f83841f47108 -r 7333473a20b0 lib/libutil/pidfile.c
--- a/lib/libutil/pidfile.c     Tue Apr 12 20:36:35 2016 +0000
+++ b/lib/libutil/pidfile.c     Tue Apr 12 20:40:43 2016 +0000
@@ -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 @@
 
        /* 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,



Home | Main Index | Thread Index | Old Index