summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 00:34:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 00:34:45 +0000
commit871e2dd2236d18e2d7cabfab0fab7134cf61c8b0 (patch)
tree7ff06eb5d5074a76f6bce15e2f325a642385fbb2 /lib/libc
parent4bd61bf53c7c58a917150739cc42ae4db55ec3ef (diff)
indent; dima
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/getopt.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index 1e1e14f0840..918633e530f 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.4 1997/06/02 11:13:33 deraadt Exp $
+.\" $OpenBSD: getopt.3,v 1.5 1998/04/25 00:34:44 deraadt Exp $
.\"
.Dd April 19, 1994
.Dt GETOPT 3
@@ -174,7 +174,7 @@ extern int optind;
int bflag, ch, fd;
bflag = 0;
-while ((ch = getopt(argc, argv, "bf:")) != -1)
+while ((ch = getopt(argc, argv, "bf:")) != -1) {
switch(ch) {
case 'b':
bflag = 1;
@@ -189,6 +189,7 @@ while ((ch = getopt(argc, argv, "bf:")) != -1)
case '?':
default:
usage();
+ }
}
argc -= optind;
argv += optind;