summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_ps.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-08-01 22:30:55 +0000
committerjhb <jhb@FreeBSD.org>2006-08-01 22:30:55 +0000
commite0f8e1f0eb04efcf17ca63dbee179d277da9df99 (patch)
tree31fef315115146c331420976d2d0e14e1eb838e5 /sys/ddb/db_ps.c
parenta2e1257dac349364bf2162e7c5d187107fcd8725 (diff)
downloadFreeBSD-src-e0f8e1f0eb04efcf17ca63dbee179d277da9df99.zip
FreeBSD-src-e0f8e1f0eb04efcf17ca63dbee179d277da9df99.tar.gz
Fix two nits in the ps header that offset each other making them largely
unnoticable.
Diffstat (limited to 'sys/ddb/db_ps.c')
-rw-r--r--sys/ddb/db_ps.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index b7755c7..603eb85 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -57,10 +57,10 @@ static void dumpthread(volatile struct proc *p, volatile struct thread *td,
*
* 1 2 3 4 5 6 7
* 1234567890123456789012345678901234567890123456789012345678901234567890
- * pid ppid pgrp uid state wmesg wchan cmd
- * <pid> <ppi> <pgi> <uid> <stat> < wmesg > < wchan > <name>
- * <pid> <ppi> <pgi> <uid> <stat> (threaded) <command>
- * <tid > <stat> < wmesg > < wchan > <name>
+ * pid ppid pgrp uid state wmesg wchan cmd
+ * <pid> <ppi> <pgi> <uid> <stat> < wmesg > < wchan > <name>
+ * <pid> <ppi> <pgi> <uid> <stat> (threaded) <command>
+ * <tid > <stat> < wmesg > < wchan > <name>
*
* For machines with 64-bit pointers, we expand the wchan field 8 more
* characters.
@@ -83,9 +83,9 @@ db_ps(db_expr_t addr, boolean_t hasaddr, db_expr_t count, char *modif)
p = &proc0;
#ifdef __LP64__
- db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
+ db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
#else
- db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
+ db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
#endif
while (--np >= 0 && !db_pager_quit) {
if (p == NULL) {
OpenPOWER on IntegriCloud