summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-25 23:28:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-25 23:28:56 +0000
commit868ca49b24dfbc5fabc8ae0b15115e57f0a2d555 (patch)
treeb1165106d495dbd04a112c7cca3e1235605e2668
parent3545634c12499e818c715c16dcfd0647814c4b79 (diff)
repair
-rw-r--r--lib/libc/stdlib/getopt.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index 57a660a2308..c83cede88b6 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getopt.3,v 1.10 1999/09/07 16:04:54 espie Exp $
+.\" $OpenBSD: getopt.3,v 1.11 2000/01/25 23:28:55 deraadt Exp $
.\"
.Dd April 19, 1994
.Dt GETOPT 3
@@ -248,7 +248,7 @@ The following code fragment works in most cases.
int length;
char *p;
-while ((c = getopt(argc, argv, "0123456789")) != -1)
+while ((c = getopt(argc, argv, "0123456789")) != -1) {
switch (c) {
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':