summaryrefslogtreecommitdiff
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
commit9268022b74279434ed6300244e3f977e56a8ceb5 (patch)
tree377ac0ac449528621eb192cd245adadb5fd53668 /usr.bin/gcore
parent29c34e9d2781cf25403647fb5af7d7ddb23be7e1 (diff)
parent8c3d6a4ab2a4a95d864d9a32d0157d7de90498a4 (diff)
downloadsrc-test2-9268022b74279434ed6300244e3f977e56a8ceb5.tar.gz
src-test2-9268022b74279434ed6300244e3f977e56a8ceb5.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;