Fix inverted logic. My fault back in 2015..

This commit is contained in:
tsutsui 2022-07-03 16:16:50 +00:00
parent 16fbd9c582
commit 04ff9ee932
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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"