summaryrefslogtreecommitdiff
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2014-07-31 03:36:03 +0000
committerKevin Lo <kevlo@FreeBSD.org>2014-07-31 03:36:03 +0000
commit798d238f9cc87e50fd59c187e794b964f7bab945 (patch)
tree14f909cfc0978c378070a043fecf184f63dd78aa /usr.bin/gcore
parent77c6646471478549ef6ef0513ad57f6ae58a3b5a (diff)
downloadsrc-test2-798d238f9cc87e50fd59c187e794b964f7bab945.tar.gz
src-test2-798d238f9cc87e50fd59c187e794b964f7bab945.zip
Notes
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;