From bd90b8aba9c3c3003246d32d17ffbc6181503689 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 23 Apr 1987 16:24:39 +0000 Subject: [PATCH] minor correction to sgtty.h, the 4.2 codes where wrong again --- include/_tail_cc/sgtty.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/_tail_cc/sgtty.h b/include/_tail_cc/sgtty.h index 83daab3f8..89837595e 100644 --- a/include/_tail_cc/sgtty.h +++ b/include/_tail_cc/sgtty.h @@ -8,8 +8,8 @@ struct sgttyb { }; #ifdef __BSD4_2 -#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16)|0x80000000) -#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16)|0x40000000) +#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16)|0x40000000) +#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16)|0x80000000) #else #define TIOCGETP (('t'<<8)|8) #define TIOCSETN (('t'<<8)|10)