aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/stallion
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-01-12 08:00:32 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-01-12 08:00:32 +0000
commit373c037f072f69b59e8b2856eb46ec20e0e2f9fb (patch)
tree876bfc5bdd618cc57dd1019b86e696384fcd52d3 /usr.sbin/stallion
parent6fa99bdbd2654bd8ddc033aa51553ebd7479b60a (diff)
downloadsrc-373c037f072f69b59e8b2856eb46ec20e0e2f9fb.tar.gz
src-373c037f072f69b59e8b2856eb46ec20e0e2f9fb.zip
Notes
Diffstat (limited to 'usr.sbin/stallion')
-rw-r--r--usr.sbin/stallion/stlload/stlload.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/stallion/stlload/stlload.c b/usr.sbin/stallion/stlload/stlload.c
index 5e8df3e85b0d..283dcd73fbaf 100644
--- a/usr.sbin/stallion/stlload/stlload.c
+++ b/usr.sbin/stallion/stlload/stlload.c
@@ -38,7 +38,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: stlload.c,v 1.7 1997/10/20 12:51:29 charnier Exp $";
#endif /* not lint */
#include <err.h>
@@ -426,11 +426,9 @@ int download()
void main(int argc, char *argv[])
{
struct stat statinfo;
- int optind, c;
+ int c;
- optind = 0;
-
- while ((c = getopt(argc, argv, "hvVRB:i:b:d:t:r:")) != -1) {
+ while ((c = getopt(argc, argv, "hvVRB:i:b:c:t:r:")) != -1) {
switch (c) {
case 'V':
printf("stlload version %s\n", version);
@@ -454,7 +452,7 @@ void main(int argc, char *argv[])
case 'b':
brdnr = atoi(optarg);
break;
- case 'd':
+ case 'c':
memdevice = optarg;
break;
case 't':