fix errors in the previous changes.
This commit is contained in:
parent
3d92eb6b84
commit
065b4dbdca
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mips_machdep.c,v 1.188 2006/10/21 05:54:32 mrg Exp $ */
|
||||
/* $NetBSD: mips_machdep.c,v 1.189 2006/10/21 08:09:58 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -119,7 +119,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.188 2006/10/21 05:54:32 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.189 2006/10/21 08:09:58 mrg Exp $");
|
||||
|
||||
#include "opt_cputype.h"
|
||||
|
||||
@ -1319,7 +1319,7 @@ cpu_dumpconf(void)
|
||||
bdev = bdevsw_lookup(dumpdev);
|
||||
if (bdev == NULL) {
|
||||
dumpdev = NODEV;
|
||||
return;
|
||||
goto bad;
|
||||
}
|
||||
if (bdev->d_psize == NULL)
|
||||
goto bad;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.29 2006/10/21 05:54:33 mrg Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.30 2006/10/21 08:09:58 mrg Exp $ */
|
||||
/* NetBSD: machdep.c,v 1.559 2004/07/22 15:12:46 mycroft Exp */
|
||||
|
||||
/*-
|
||||
@ -73,7 +73,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.29 2006/10/21 05:54:33 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.30 2006/10/21 08:09:58 mrg Exp $");
|
||||
|
||||
#include "opt_beep.h"
|
||||
#include "opt_compat_ibcs2.h"
|
||||
@ -986,7 +986,7 @@ cpu_dumpconf()
|
||||
bdev = bdevsw_lookup(dumpdev);
|
||||
if (bdev == NULL) {
|
||||
dumpdev = NODEV;
|
||||
return;
|
||||
goto bad;
|
||||
}
|
||||
if (bdev->d_psize == NULL)
|
||||
goto bad;
|
||||
|
Loading…
Reference in New Issue
Block a user