use XS (not XC) flags when setting tty flags; from <brook@trillium.nmsu.edu>.
authorderaadt <deraadt@openbsd.org>
Sun, 5 May 1996 16:14:50 +0000 (16:14 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 5 May 1996 16:14:50 +0000 (16:14 +0000)
usr.sbin/lpr/lpd/printjob.c

index 9e7e334..b5f48ab 100644 (file)
@@ -1,3 +1,6 @@
+/*     $OpenBSD: printjob.c,v 1.2 1996/05/05 16:14:50 deraadt Exp $ */
+/*     $NetBSD: printjob.c,v 1.9 1996/04/30 00:07:00 jtc Exp $ */
+
 /*
  * Copyright (c) 1983, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -1376,7 +1379,7 @@ setty()
                        i.set = 1;
                }
                if (XS) {
-                       sttysetlflags(&i.t, XC);
+                       sttysetlflags(&i.t, XS);
                        i.set = 1;
                }
        }