mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
mac_ddb: Fix the show rman validator.
The validator always returned true due to an incorrect check. Reviewed by: mhorne, imp Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D36125
This commit is contained in:
parent
6b3ad1d737
commit
3a3af6b2a1
@ -185,7 +185,7 @@ db_show_rman_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
|
||||
struct rman *rm;
|
||||
|
||||
TAILQ_FOREACH(rm, &rman_head, rm_link) {
|
||||
if ((void *)rm == (void *)rm)
|
||||
if ((void *)rm == (void *)addr)
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user