summaryrefslogtreecommitdiff
path: root/usr.bin/gcore
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/elfcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c
index f857dcfb709a..037854c34d03 100644
--- a/usr.bin/gcore/elfcore.c
+++ b/usr.bin/gcore/elfcore.c
@@ -618,7 +618,7 @@ elf_note_thrmisc(void *arg, size_t *sizep)
static void *
procstat_sysctl(void *arg, int what, size_t structsz, size_t *sizep)
{
- size_t len, oldlen;
+ size_t len;
pid_t pid;
int name[4], structsize;
void *buf, *p;