From 04ff9ee9322df6e1edba040ba98b74eba05fd75c Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 3 Jul 2022 16:16:50 +0000 Subject: [PATCH] Fix inverted logic. My fault back in 2015.. --- sys/arch/atari/stand/installboot/Makefile | 4 ++-- sys/arch/atari/stand/installboot/installboot.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/atari/stand/installboot/Makefile b/sys/arch/atari/stand/installboot/Makefile index 8b4cf9422ce0..02ad65a8656d 100644 --- a/sys/arch/atari/stand/installboot/Makefile +++ b/sys/arch/atari/stand/installboot/Makefile @@ -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 diff --git a/sys/arch/atari/stand/installboot/installboot.c b/sys/arch/atari/stand/installboot/installboot.c index 834ff58130c2..435d91bc1c5a 100644 --- a/sys/arch/atari/stand/installboot/installboot.c +++ b/sys/arch/atari/stand/installboot/installboot.c @@ -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"