fix pasto in last (sigh)
This commit is contained in:
parent
50c9f48319
commit
1538076f47
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: machdep.c,v 1.108 1998/02/14 01:17:19 cgd Exp $ */
|
/* $NetBSD: machdep.c,v 1.109 1998/02/14 01:18:46 cgd Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
|
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||||
|
|
||||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.108 1998/02/14 01:17:19 cgd Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.109 1998/02/14 01:18:46 cgd Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -1026,7 +1026,7 @@ cpu_dumpsize()
|
||||||
int size;
|
int size;
|
||||||
|
|
||||||
size = ALIGN(sizeof(kcore_seg_t)) + ALIGN(sizeof(cpu_kcore_hdr_t)) +
|
size = ALIGN(sizeof(kcore_seg_t)) + ALIGN(sizeof(cpu_kcore_hdr_t)) +
|
||||||
ALIGN(mem_cluster_cnt * sizeof(phys_ram_seg_t));
|
ALIGN(1 * sizeof(phys_ram_seg_t));
|
||||||
if (roundup(size, dbtob(1)) != dbtob(1))
|
if (roundup(size, dbtob(1)) != dbtob(1))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue