summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/cyclades
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2002-01-23 01:14:27 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2002-01-23 01:14:27 +0000
commit7622411bdd8967c439a75acb85a78161c5805702 (patch)
tree4de26ab0c784c5f693d892c8a5f484a02c4f1269 /sys/dev/microcode/cyclades
parent428a9d0c41ac6e6a1e3b34fe87ab6ef38f3764cb (diff)
we dont have getprogname()
Diffstat (limited to 'sys/dev/microcode/cyclades')
-rw-r--r--sys/dev/microcode/cyclades/cyzfirm2h.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/microcode/cyclades/cyzfirm2h.c b/sys/dev/microcode/cyclades/cyzfirm2h.c
index 48c225d260d..72f98170dc0 100644
--- a/sys/dev/microcode/cyclades/cyzfirm2h.c
+++ b/sys/dev/microcode/cyclades/cyzfirm2h.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cyzfirm2h.c,v 1.1 2001/06/21 13:21:49 nate Exp $ */
+/* $OpenBSD: cyzfirm2h.c,v 1.2 2002/01/23 01:14:26 ericj Exp $ */
/* $NetBSD: cyzfirm2h.c,v 1.1 2000/05/17 17:58:10 thorpej Exp $ */
/*-
@@ -131,7 +131,8 @@ main(int argc, char *argv[])
void
usage()
{
+ extern char *__progname;
- fprintf(stderr, "usage: %s infile outfile\n", getprogname());
+ fprintf(stderr, "usage: %s infile outfile\n", __progname);
exit(1);
}