remove check for too-small MSGBUFOFF now that the reason for it is gone.
This commit is contained in:
parent
9d8dc820a8
commit
9e78300eda
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: machdep.c,v 1.67 2001/05/28 21:54:27 chs Exp $ */
|
/* $NetBSD: machdep.c,v 1.68 2001/05/28 22:47:05 chs Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988 University of Utah.
|
* Copyright (c) 1988 University of Utah.
|
||||||
@ -573,13 +573,6 @@ cpu_dumpconf()
|
|||||||
int maj;
|
int maj;
|
||||||
int (*getsize)__P((dev_t));
|
int (*getsize)__P((dev_t));
|
||||||
|
|
||||||
/* Validate space in page zero for the kcore header. */
|
|
||||||
if (MSGBUFOFF < (sizeof(kcore_seg_t) + sizeof(cpu_kcore_hdr_t))) {
|
|
||||||
printf("%d %d\n",
|
|
||||||
MSGBUFOFF, (sizeof(kcore_seg_t) + sizeof(cpu_kcore_hdr_t)));
|
|
||||||
panic("cpu_dumpconf: MSGBUFOFF too small");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (dumpdev == NODEV)
|
if (dumpdev == NODEV)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user