Make it possible to terminate "show lockedbufs" by pressing "q".

MFC after:	2 weeks
This commit is contained in:
Edward Tomasz Napierala 2017-04-23 22:20:25 +00:00
parent 53f6052862
commit 04005c2f92
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317348

View File

@ -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;
}
}
}