Module Name:    src
Committed By:   tsutsui
Date:           Sun Jul  3 16:16:50 UTC 2022

Modified Files:
        src/sys/arch/atari/stand/installboot: Makefile installboot.c

Log Message:
Fix inverted logic.  My fault back in 2015..


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/atari/stand/installboot/Makefile
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/atari/stand/installboot/installboot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/atari/stand/installboot/Makefile
diff -u src/sys/arch/atari/stand/installboot/Makefile:1.10 src/sys/arch/atari/stand/installboot/Makefile:1.11
--- src/sys/arch/atari/stand/installboot/Makefile:1.10	Wed May 11 10:36:52 2022
+++ src/sys/arch/atari/stand/installboot/Makefile	Sun Jul  3 16:16:50 2022
@@ -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 @@ NOMAN=	# defined
 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
 

Index: src/sys/arch/atari/stand/installboot/installboot.c
diff -u src/sys/arch/atari/stand/installboot/installboot.c:1.38 src/sys/arch/atari/stand/installboot/installboot.c:1.39
--- src/sys/arch/atari/stand/installboot/installboot.c:1.38	Wed May 11 10:31:12 2022
+++ src/sys/arch/atari/stand/installboot/installboot.c	Sun Jul  3 16:16:50 2022
@@ -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 @@ usage(void)
 {
 	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"

Reply via email to