Make it possible to terminate "show lockedbufs" by pressing "q".
MFC after: 2 weeks
This commit is contained in:
parent
53f6052862
commit
04005c2f92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317348
@ -4950,6 +4950,8 @@ DB_SHOW_COMMAND(lockedbufs, lockedbufs)
|
||||
if (BUF_ISLOCKED(bp)) {
|
||||
db_show_buffer((uintptr_t)bp, 1, 0, NULL);
|
||||
db_printf("\n");
|
||||
if (db_pager_quit)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user