diff options
| author | cl <cl@NetBSD.org> | 2004-01-02 14:29:22 +0000 |
|---|---|---|
| committer | cl <cl@NetBSD.org> | 2004-01-02 14:29:22 +0000 |
| commit | 91d9c8c22f29c3daeb2fcfbe12b24c5e93fc2924 (patch) | |
| tree | 512f65c89f60cc3bb5066486952d29b7864120bc /lib/libpthread | |
| parent | 677748c6458621cca5f6d8d84020603321c83416 (diff) | |
pthread__upcall: output LWPid in SA_UPCALL_BLOCKED case
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/pthread_sa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/pthread_sa.c b/lib/libpthread/pthread_sa.c index fd762df159e..8f6830dc67c 100644 --- a/lib/libpthread/pthread_sa.c +++ b/lib/libpthread/pthread_sa.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_sa.c,v 1.23 2004/01/02 14:13:16 cl Exp $ */ +/* $NetBSD: pthread_sa.c,v 1.24 2004/01/02 14:29:22 cl Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_sa.c,v 1.23 2004/01/02 14:13:16 cl Exp $"); +__RCSID("$NetBSD: pthread_sa.c,v 1.24 2004/01/02 14:29:22 cl Exp $"); #include <err.h> #include <errno.h> @@ -141,8 +141,8 @@ pthread__upcall(int type, struct sa_t *sas[], int ev, int intr, void *arg) case SA_UPCALL_BLOCKED: PTHREADD_ADD(PTHREADD_UP_BLOCK); t = pthread__sa_id(sas[1]); - SDPRINTF(("(up %p) blocker %d %p(%d)\n", self, 1, t, - t->pt_type)); + SDPRINTF(("(up %p) blocker %d %p(%d)\n", self, + sas[1]->sa_id, t, t->pt_type)); t->pt_blockuc = sas[1]->sa_context; t->pt_blockedlwp = sas[1]->sa_id; t->pt_blockgen++; |
