From c97ad5cdc75eb73e3cc38542ca3ba783574b0a7a Mon Sep 17 00:00:00 2001 From: akolb Date: Fri, 9 Mar 2007 15:55:28 -0800 Subject: PSARC/2004/402 CPU Caps 6327235 PSARC/2004/402 CPU caps 6464161 Dead KSLICE code should be removed 6514387 FX class contains dead code to keep list of member threads 6518395 kstat_zone_add performs KM_SLEEP allocation when it should not --- usr/src/cmd/prstat/prutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/src/cmd/prstat') diff --git a/usr/src/cmd/prstat/prutil.c b/usr/src/cmd/prstat/prutil.c index 638dc8086f..8c0f99f138 100644 --- a/usr/src/cmd/prstat/prutil.c +++ b/usr/src/cmd/prstat/prutil.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -197,8 +197,8 @@ Format_state(char *str, char state, processorid_t pr_id, int length) case 'I': (void) strncpy(str, "idle", length); break; - case 'X': - (void) strncpy(str, "xbrk", length); + case 'W': + (void) strncpy(str, "wait", length); break; case 'O': (void) snprintf(str, length, "cpu%-3d", (int)pr_id); -- cgit v1.2.3