diff options
author | millert <> | 2002-12-07 19:48:32 +0000 |
---|---|---|
committer | millert <> | 2002-12-07 19:48:32 +0000 |
commit | 7e5971005fab07ef2db960f8da4f61cae4f73db5 (patch) | |
tree | 4045f6d632368eb958ac0885a842ba3c7a781bca /src | |
parent | 5d713eb7eefea34a181f3908d1d6677902617067 (diff) | |
download | openbsd-7e5971005fab07ef2db960f8da4f61cae4f73db5.tar.gz openbsd-7e5971005fab07ef2db960f8da4f61cae4f73db5.tar.bz2 openbsd-7e5971005fab07ef2db960f8da4f61cae4f73db5.zip |
Fix pasto in last commit.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/stdlib/getopt_long.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/getopt_long.c b/src/lib/libc/stdlib/getopt_long.c index 7f6dc23c44..c4f09cb23e 100644 --- a/src/lib/libc/stdlib/getopt_long.c +++ b/src/lib/libc/stdlib/getopt_long.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getopt_long.c,v 1.6 2002/12/07 19:15:59 millert Exp $ */ | 1 | /* $OpenBSD: getopt_long.c,v 1.7 2002/12/07 19:48:32 millert Exp $ */ |
2 | /* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */ | 2 | /* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -64,7 +64,7 @@ | |||
64 | */ | 64 | */ |
65 | 65 | ||
66 | #if defined(LIBC_SCCS) && !defined(lint) | 66 | #if defined(LIBC_SCCS) && !defined(lint) |
67 | static char *rcsid = "$OpenBSD: getopt_long.c,v 1.6 2002/12/07 19:15:59 millert Exp $"; | 67 | static char *rcsid = "$OpenBSD: getopt_long.c,v 1.7 2002/12/07 19:48:32 millert Exp $"; |
68 | #endif /* LIBC_SCCS and not lint */ | 68 | #endif /* LIBC_SCCS and not lint */ |
69 | 69 | ||
70 | #include <err.h> | 70 | #include <err.h> |
@@ -408,7 +408,7 @@ start: | |||
408 | short_too = 0; | 408 | short_too = 0; |
409 | if (*place == '-') | 409 | if (*place == '-') |
410 | place++; /* --foo long option */ | 410 | place++; /* --foo long option */ |
411 | else if (*place != ':' && strchr(options, optchar) != NULL) | 411 | else if (*place != ':' && strchr(options, *place) != NULL) |
412 | short_too = 1; /* could be short option too */ | 412 | short_too = 1; /* could be short option too */ |
413 | 413 | ||
414 | optchar = parse_long_options(nargv, options, long_options, | 414 | optchar = parse_long_options(nargv, options, long_options, |