Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/eeprom Cleanup last set of cleanups so this compile...



details:   https://anonhg.NetBSD.org/src/rev/9ebe99b34529
branches:  trunk
changeset: 503016:9ebe99b34529
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sun Jan 28 22:22:25 2001 +0000

description:
Cleanup last set of cleanups so this compiles on systems without
openprom (ala sun3).

diffstat:

 usr.sbin/eeprom/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r d08a90c95262 -r 9ebe99b34529 usr.sbin/eeprom/main.c
--- a/usr.sbin/eeprom/main.c    Sun Jan 28 22:18:17 2001 +0000
+++ b/usr.sbin/eeprom/main.c    Sun Jan 28 22:22:25 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.12 2000/11/28 22:31:37 mrg Exp $    */
+/*     $NetBSD: main.c,v 1.13 2001/01/28 22:22:25 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.12 2000/11/28 22:31:37 mrg Exp $");
+__RCSID("$NetBSD: main.c,v 1.13 2001/01/28 22:22:25 jmc Exp $");
 #endif
 
 #include <sys/param.h>
@@ -130,13 +130,13 @@
 
 #ifdef USE_OPENPROM
        use_openprom = check_for_openprom();
-#endif /* USE_OPENPROM */
 
        if (use_openprom == 0) {
                ee_verifychecksums();
                if (fix_checksum || cksumfail)
                        exit(cksumfail);
        }
+#endif /* USE_OPENPROM */
 
        if (do_stdin) {
                while (fgets(line, BUFSIZE, stdin) != NULL) {



Home | Main Index | Thread Index | Old Index