diff options
author | ps <ps@FreeBSD.org> | 2000-05-09 01:08:00 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-05-09 01:08:00 +0000 |
commit | 3cad7070e8f245acb72d30788396e8c16e7f53a6 (patch) | |
tree | 16663463849ee6b8164d129e8812df1114a863f4 /sbin/savecore/savecore.c | |
parent | 5dbf07e15540a579dc62b15563d51dca36c08a17 (diff) | |
download | FreeBSD-src-3cad7070e8f245acb72d30788396e8c16e7f53a6.zip FreeBSD-src-3cad7070e8f245acb72d30788396e8c16e7f53a6.tar.gz |
Read the correct size into kdumplo.
Botched/Noticed by: peter
Diffstat (limited to 'sbin/savecore/savecore.c')
-rw-r--r-- | sbin/savecore/savecore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index f427485..3dc4f14 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -261,7 +261,7 @@ kmem_setup() kmem = Open(_PATH_KMEM, O_RDONLY); Lseek(kmem, (off_t)current_nl[X_DUMPLO].n_value, L_SET); - (void)Read(kmem, &kdumplo, sizeof(dumplo)); + (void)Read(kmem, &kdumplo, sizeof(kdumplo)); dumplo = kdumplo; if (verbose) (void)printf("dumplo = %ld (%ld * %d)\n", |