diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-04-20 17:49:37 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-04-20 17:49:37 +0000 |
| commit | febd54ebb7317f4e0fb6264bd181782129564cd1 (patch) | |
| tree | f8058e2a48fafd3ac87e0ba52b6ef17849030483 /lib/libthread_db | |
| parent | 1f2b051d84547c7ee9a163a267a76e3c8ca4a4fe (diff) | |
Notes
Diffstat (limited to 'lib/libthread_db')
| -rw-r--r-- | lib/libthread_db/libpthread_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthread_db/libpthread_db.c b/lib/libthread_db/libpthread_db.c index 66b813ec50d8..55fef7128e40 100644 --- a/lib/libthread_db/libpthread_db.c +++ b/lib/libthread_db/libpthread_db.c @@ -100,7 +100,7 @@ pt_map_thread(const td_thragent_t *const_ta, psaddr_t pt, enum pt_type type) if (new == NULL) return (-1); memset(new + ta->map_len, '\0', ta->map_len * - 2 * sizeof(struct pt_map)); + sizeof(struct pt_map)); first = ta->map_len; ta->map = new; ta->map_len *= 2; |
