diff options
author | millert <> | 2002-12-08 22:57:14 +0000 |
---|---|---|
committer | millert <> | 2002-12-08 22:57:14 +0000 |
commit | e0fe3085eb6f61cbd3984b9ea6b2e61b7e2207e6 (patch) | |
tree | 7402920ea7caea2c81946191fee146f69a70dd22 /src/lib | |
parent | d11eb7755cffa6a8796c5922ee06499acfcb120c (diff) | |
download | openbsd-e0fe3085eb6f61cbd3984b9ea6b2e61b7e2207e6.tar.gz openbsd-e0fe3085eb6f61cbd3984b9ea6b2e61b7e2207e6.tar.bz2 openbsd-e0fe3085eb6f61cbd3984b9ea6b2e61b7e2207e6.zip |
Fix pasto, spotted by lebel@
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/stdlib/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/getopt.c b/src/lib/libc/stdlib/getopt.c index 218887dd32..fc0f8c1bc7 100644 --- a/src/lib/libc/stdlib/getopt.c +++ b/src/lib/libc/stdlib/getopt.c | |||
@@ -32,7 +32,7 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
35 | static char *rcsid = "$OpenBSD: getopt.c,v 1.3 2002/12/08 17:52:26 millert Exp $"; | 35 | static char *rcsid = "$OpenBSD: getopt.c,v 1.4 2002/12/08 22:57:14 millert Exp $"; |
36 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ |
37 | 37 | ||
38 | #include <stdio.h> | 38 | #include <stdio.h> |
@@ -63,7 +63,7 @@ getopt(nargc, nargv, ostr) | |||
63 | static char *place = EMSG; /* option letter processing */ | 63 | static char *place = EMSG; /* option letter processing */ |
64 | char *oli; /* option letter list index */ | 64 | char *oli; /* option letter list index */ |
65 | 65 | ||
66 | if (options == NULL) | 66 | if (ostr == NULL) |
67 | return (-1); | 67 | return (-1); |
68 | 68 | ||
69 | if (optreset || !*place) { /* update scanning pointer */ | 69 | if (optreset || !*place) { /* update scanning pointer */ |