diff options
Diffstat (limited to 'avr/getopt-min.c')
-rw-r--r-- | avr/getopt-min.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/getopt-min.c b/avr/getopt-min.c index 778258d..571c14f 100644 --- a/avr/getopt-min.c +++ b/avr/getopt-min.c @@ -39,7 +39,7 @@ getopt( /* returns letter, '?', EOF */ || argv[optind][0] != '-' /* no more options */ || argv[optind][1] == '\0' /* not option; stdin */ ) - return EOF; + return -1; } c = argv[optind][sp]; /* option letter */ |