summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/installboot/installboot.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c
index 67a1671f624..17bfadbd413 100644
--- a/sys/arch/i386/stand/installboot/installboot.c
+++ b/sys/arch/i386/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.8 1997/08/30 02:13:48 mickey Exp $ */
+/* $OpenBSD: installboot.c,v 1.9 1997/09/02 19:13:18 mickey Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -58,6 +58,7 @@
#include <unistd.h>
#include <util.h>
+extern char *__progname;
int verbose, nowrite, heads, nsectors;
char *boot, *proto, *dev, *realdev;
struct nlist nl[] = {
@@ -86,8 +87,8 @@ static int record_block
static void
usage()
{
- fprintf(stderr,
- "usage: installboot [-n] [-v] <boot> <proto> <device>\n");
+ fprintf(stderr, "usage: %s [-n] [-v] [-s <spt>] [-h <tpc>] "
+ "<boot> <proto> <device>\n", __progname);
exit(1);
}