Hmm...My last change was a bit too drastic. Sun3's would never run the inner

bit of checksum code. Restructure #ifdef's. Really, use_openprom should just
be visible on all ports and set to 0 on sun3 or something.
This commit is contained in:
jmc 2001-01-29 03:11:50 +00:00
parent 6dcc7e3de4
commit 5ec07d55ff

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.13 2001/01/28 22:22:25 jmc Exp $ */
/* $NetBSD: main.c,v 1.14 2001/01/29 03:11:50 jmc Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -40,7 +40,7 @@
#ifndef lint
__COPYRIGHT(
"@(#) Copyright (c) 1996 The NetBSD Foundation, Inc. All rights reserved.");
__RCSID("$NetBSD: main.c,v 1.13 2001/01/28 22:22:25 jmc Exp $");
__RCSID("$NetBSD: main.c,v 1.14 2001/01/29 03:11:50 jmc Exp $");
#endif
#include <sys/param.h>
@ -132,9 +132,11 @@ main(argc, argv)
use_openprom = check_for_openprom();
if (use_openprom == 0) {
#endif /* USE_OPENPROM */
ee_verifychecksums();
if (fix_checksum || cksumfail)
exit(cksumfail);
#ifdef USE_OPENPROM
}
#endif /* USE_OPENPROM */