summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-05-08 01:17:55 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-05-08 01:17:55 +0000
commit6b48017a29bf2d49da78618c15452a73b5327e04 (patch)
tree7d87645ad2489c17ec070e9f1b64268000b499ca
parentf50a59f42ad8eb9c038ce384243069a04d4ae066 (diff)
fix TIOCSIG definition; from Hannah Schroeter <hannah at schlund dot de>
via tech. deraadt@ ok.
-rw-r--r--sys/sys/ttycom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ttycom.h b/sys/sys/ttycom.h
index cf8857f948d..2ff8be949fc 100644
--- a/sys/sys/ttycom.h
+++ b/sys/sys/ttycom.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ttycom.h,v 1.9 2008/01/05 17:33:28 mbalmer Exp $ */
+/* $OpenBSD: ttycom.h,v 1.10 2008/05/08 01:17:54 fgsch Exp $ */
/* $NetBSD: ttycom.h,v 1.4 1996/05/19 17:17:53 jonathan Exp $ */
/*-
@@ -121,7 +121,7 @@ struct tstamps {
#define TIOCCONS _IOW('t', 98, int) /* become virtual console */
#define TIOCSCTTY _IO('t', 97) /* become controlling tty */
#define TIOCEXT _IOW('t', 96, int) /* pty: external processing */
-#define TIOCSIG _IO('t', 95) /* pty: generate signal */
+#define TIOCSIG _IOW('t', 95, int) /* pty: generate signal */
#define TIOCDRAIN _IO('t', 94) /* wait till output drained */
#define TIOCGFLAGS _IOR('t', 93, int) /* get device flags */
#define TIOCSFLAGS _IOW('t', 92, int) /* set device flags */