summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2008-05-08 01:17:54 +0000
committerfgsch <fgsch@openbsd.org>2008-05-08 01:17:54 +0000
commitb968b71c60a591ef16bd7f6df2d26595ea28edfc (patch)
treeb09112e6d323c04ebad6391ecab33b248ea2c55d
parentAdd/Fix regression tests for sequences of numbers and stacked (diff)
downloadwireguard-openbsd-b968b71c60a591ef16bd7f6df2d26595ea28edfc.tar.xz
wireguard-openbsd-b968b71c60a591ef16bd7f6df2d26595ea28edfc.zip
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 */