Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/stand/installboot Fix inverted logic. My fau...
details: https://anonhg.NetBSD.org/src/rev/9b7adb27f2d8
branches: trunk
changeset: 368298:9b7adb27f2d8
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Jul 03 16:16:50 2022 +0000
description:
Fix inverted logic. My fault back in 2015..
diffstat:
sys/arch/atari/stand/installboot/Makefile | 4 ++--
sys/arch/atari/stand/installboot/installboot.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r d8bcd85eaa75 -r 9b7adb27f2d8 sys/arch/atari/stand/installboot/Makefile
--- a/sys/arch/atari/stand/installboot/Makefile Sun Jul 03 16:03:08 2022 +0000
+++ b/sys/arch/atari/stand/installboot/Makefile Sun Jul 03 16:16:50 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/05/11 10:36:52 rin Exp $
+# $NetBSD: Makefile,v 1.11 2022/07/03 16:16:50 tsutsui Exp $
WARNS= 4
PROG= installboot
@@ -6,7 +6,7 @@
SRCS= installboot.c disklabel.c
BINDIR= /usr/mdec
.ifndef SMALLPROG
-CPPFLAGS+= -DCHECK_OS_BOOTVERSION -DNO_USAGE -DSUPPORT_FD
+CPPFLAGS+= -DCHECK_OS_BOOTVERSION -DUSAGE -DSUPPORT_FD
LDADD= -lkvm
.endif
diff -r d8bcd85eaa75 -r 9b7adb27f2d8 sys/arch/atari/stand/installboot/installboot.c
--- a/sys/arch/atari/stand/installboot/installboot.c Sun Jul 03 16:03:08 2022 +0000
+++ b/sys/arch/atari/stand/installboot/installboot.c Sun Jul 03 16:16:50 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: installboot.c,v 1.38 2022/05/11 10:31:12 rin Exp $ */
+/* $NetBSD: installboot.c,v 1.39 2022/07/03 16:16:50 tsutsui Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens
@@ -86,7 +86,7 @@
{
fprintf(stderr,
"usage: installboot [options] device\n"
-#ifndef NO_USAGE
+#ifdef USAGE
"where options are:\n"
"\t-N do not actually write anything on the disk\n"
"\t-m use Milan boot blocks\n"
Home |
Main Index |
Thread Index |
Old Index