parent
e0475d14f3
commit
ac535251a5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fdformat.c,v 1.6 1999/01/13 21:00:16 hubertf Exp $ */
|
||||
/* $NetBSD: fdformat.c,v 1.7 2001/02/05 01:45:32 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -72,6 +72,8 @@ int main __P((int, char **));
|
|||
void usage __P((void));
|
||||
int verify_track(int, int, int, struct fdformat_parms *, char *);
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
int
|
||||
confirm(int def)
|
||||
{
|
||||
|
@ -117,9 +119,8 @@ verify_track(int fd, int cyl, int trk, struct fdformat_parms *parms, char *buf)
|
|||
void
|
||||
usage(void)
|
||||
{
|
||||
extern char *__progname;
|
||||
|
||||
errx(1,"Usage: %s [-f device] [-t type] [-n] [-B nbps] [-S nspt]\n\t[-T ntrk] [-C ncyl] [-P stepspercyl] [-G gaplen]\n\t[-F fillbyte] [-X xfer_rate] [-I interleave]\n", __progname);
|
||||
fprintf(stderr, "Usage: %s [-f device] [-t type] [-n] [-B nbps] [-S nspt]\n\t[-T ntrk] [-C ncyl] [-P stepspercyl] [-G gaplen]\n\t[-F fillbyte] [-X xfer_rate] [-I interleave]\n", __progname);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
#define numarg(which, maskn) \
|
||||
|
|
Loading…
Reference in New Issue