diff options
author | ahl <none@none> | 2005-10-08 16:04:51 -0700 |
---|---|---|
committer | ahl <none@none> | 2005-10-08 16:04:51 -0700 |
commit | 8c642573fd94d136a1a07fcd8bf5bb9f11edfa68 (patch) | |
tree | 05265235bce90b8e54bb842285e6996ba954880f /usr/src/uts/common/dtrace/fasttrap.c | |
parent | a8320b74f7adf6c263aef11e7971205529cff851 (diff) | |
download | illumos-joyent-8c642573fd94d136a1a07fcd8bf5bb9f11edfa68.tar.gz |
6334302 dtrace panic the system when enabling probes.
Diffstat (limited to 'usr/src/uts/common/dtrace/fasttrap.c')
-rw-r--r-- | usr/src/uts/common/dtrace/fasttrap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/dtrace/fasttrap.c b/usr/src/uts/common/dtrace/fasttrap.c index 9ab17c58a7..be164bd353 100644 --- a/usr/src/uts/common/dtrace/fasttrap.c +++ b/usr/src/uts/common/dtrace/fasttrap.c @@ -918,8 +918,9 @@ fasttrap_pid_enable(void *arg, dtrace_id_t id, void *parg) * Back up and pull out all the tracepoints we've * created so far for this probe. */ - while (i-- >= 0) { + while (i >= 0) { fasttrap_tracepoint_disable(p, probe, i); + i--; } mutex_enter(&p->p_lock); |