diff options
Diffstat (limited to 'sys/ddb/db_thread.c')
| -rw-r--r-- | sys/ddb/db_thread.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/ddb/db_thread.c b/sys/ddb/db_thread.c index a946dd81f3df..13c3878f8ab2 100644 --- a/sys/ddb/db_thread.c +++ b/sys/ddb/db_thread.c @@ -93,13 +93,9 @@ db_show_threads(db_expr_t addr, boolean_t hasaddr, db_expr_t cnt, char *mod) jmp_buf jb; void *prev_jb; struct thread *thr; - int pager_quit; - db_setup_paging(db_simple_pager, &pager_quit, db_lines_per_page); - - pager_quit = 0; thr = kdb_thr_first(); - while (!pager_quit && thr != NULL) { + while (!db_pager_quit && thr != NULL) { db_printf(" %6ld (%p) ", (long)thr->td_tid, thr); prev_jb = kdb_jmpbuf(jb); if (setjmp(jb) == 0) { |
