Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libpthread Log the PID as well as the program name ...



details:   https://anonhg.NetBSD.org/src/rev/c60ab701e2a0
branches:  nathanw_sa
changeset: 504896:c60ab701e2a0
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Tue Jul 24 21:23:22 2001 +0000

description:
Log the PID as well as the program name when starting up.

diffstat:

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

diffs (20 lines):

diff -r 89b8309939bc -r c60ab701e2a0 lib/libpthread/pthread_debug.c
--- a/lib/libpthread/pthread_debug.c    Tue Jul 24 21:21:12 2001 +0000
+++ b/lib/libpthread/pthread_debug.c    Tue Jul 24 21:23:22 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_debug.c,v 1.1.2.1 2001/07/17 20:22:41 nathanw Exp $    */
+/*     $NetBSD: pthread_debug.c,v 1.1.2.2 2001/07/24 21:23:22 nathanw Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -58,8 +58,8 @@
 
        t = time(NULL);
        debugbuf = pthread__debuglog_init();
-       DPRINTF(("Started debugging %s at %s\n", getprogname(), 
-           ctime(&t)));
+       DPRINTF(("Started debugging %s (pid %d) at %s\n", getprogname(), 
+           getpid(), ctime(&t)));
 }
 
 struct pthread_msgbuf *



Home | Main Index | Thread Index | Old Index