summaryrefslogtreecommitdiff
path: root/usr/src/cmd/prstat/prutil.c
diff options
context:
space:
mode:
authorakolb <none@none>2007-03-09 15:55:28 -0800
committerakolb <none@none>2007-03-09 15:55:28 -0800
commitc97ad5cdc75eb73e3cc38542ca3ba783574b0a7a (patch)
tree5ba1653d892978d87d6061c8c7f3821f4b3e354c /usr/src/cmd/prstat/prutil.c
parent68d3ac02fc9db49ae9dccaecff999963114930a7 (diff)
downloadillumos-joyent-c97ad5cdc75eb73e3cc38542ca3ba783574b0a7a.tar.gz
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
Diffstat (limited to 'usr/src/cmd/prstat/prutil.c')
-rw-r--r--usr/src/cmd/prstat/prutil.c6
1 files changed, 3 insertions, 3 deletions
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);