summaryrefslogtreecommitdiff
path: root/sys/arch/atari/stand/tostools/rawwrite/rawwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/atari/stand/tostools/rawwrite/rawwrite.c')
-rw-r--r--sys/arch/atari/stand/tostools/rawwrite/rawwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/atari/stand/tostools/rawwrite/rawwrite.c b/sys/arch/atari/stand/tostools/rawwrite/rawwrite.c
index ad4f092496f..d9eed90059a 100644
--- a/sys/arch/atari/stand/tostools/rawwrite/rawwrite.c
+++ b/sys/arch/atari/stand/tostools/rawwrite/rawwrite.c
@@ -53,7 +53,7 @@ int v_flag = 0; /* Verbose (a dot for each track copied) */
int V_flag = 0; /* Show version */
char *progname;
-const char version[] = "$Revision: 1.2 $";
+const char version[] = "$Revision: 1.3 $";
int
main(argc, argv)
@@ -71,7 +71,7 @@ char *argv[];
progname = argv[0];
init_toslib(argv[0]);
- while ((ch = getopt(argc, argv, "hvVwo:")) != EOF) {
+ while ((ch = getopt(argc, argv, "hvVwo:")) != -1) {
switch (ch) {
case 'h':
h_flag = 1;