diff options
Diffstat (limited to 'usr/src/uts/common/vm/hat_refmod.c')
| -rw-r--r-- | usr/src/uts/common/vm/hat_refmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/vm/hat_refmod.c b/usr/src/uts/common/vm/hat_refmod.c index ad15becea4..31a85d4cf6 100644 --- a/usr/src/uts/common/vm/hat_refmod.c +++ b/usr/src/uts/common/vm/hat_refmod.c @@ -230,7 +230,7 @@ hat_freestat(struct as *as, int id) mutex_enter(&hat_statlock); for (prev_ahrm = NULL; hrm; hrm = hrm->hrm_anext) { - if ((id == hrm->hrm_id) || (id == NULL)) { + if ((id == hrm->hrm_id) || (id == 0)) { hrm_hashout(hrm); hrm->hrm_hnext = hrm_blist; |
