summaryrefslogtreecommitdiff
path: root/libexec/getty/subr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-08 21:18:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-08 21:18:14 +0000
commit699c4ce680db1fb49447b9e177bccaa2b451e33c (patch)
tree5abc4259a7dcc07ab250be730cfe703ce01ffaaf /libexec/getty/subr.c
parentdc7875ea2fd93df64c33fcce973754bcd62b2343 (diff)
-Wall
Diffstat (limited to 'libexec/getty/subr.c')
-rw-r--r--libexec/getty/subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index 21efd017a17..e74d383875a 100644
--- a/libexec/getty/subr.c
+++ b/libexec/getty/subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr.c,v 1.12 2001/06/11 15:18:50 mickey Exp $ */
+/* $OpenBSD: subr.c,v 1.13 2001/07/08 21:18:08 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)subr.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$OpenBSD: subr.c,v 1.12 2001/06/11 15:18:50 mickey Exp $";
+static char rcsid[] = "$OpenBSD: subr.c,v 1.13 2001/07/08 21:18:08 deraadt Exp $";
#endif /* not lint */
/*
@@ -260,7 +260,7 @@ setflags(n)
CLR(cflag, PARODD);
if (AP)
CLR(iflag, INPCK);
- } else if (AP || EP && OP) {
+ } else if (AP || (EP && OP)) {
CLR(iflag, INPCK|IGNPAR);
CLR(cflag, PARODD);
}