aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_ps.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-08-01 22:30:55 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-08-01 22:30:55 +0000
commitd25168e14ed6a4cd81c3097710bc5ca1d8489c6c (patch)
tree31fef315115146c331420976d2d0e14e1eb838e5 /sys/ddb/db_ps.c
parente5d34218fb8e249657a8bebe19061c57215dc3e5 (diff)
downloadsrc-d25168e14ed6a4cd81c3097710bc5ca1d8489c6c.tar.gz
src-d25168e14ed6a4cd81c3097710bc5ca1d8489c6c.zip
Fix two nits in the ps header that offset each other making them largely
unnoticable.
Notes
Notes: svn path=/head/; revision=160893
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 b7755c7655f1..603eb851d592 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) {