minor correction to sgtty.h, the 4.2 codes where wrong again

This commit is contained in:
ceriel 1987-04-23 16:24:39 +00:00
parent 9fe57a8360
commit 51f4df4c59

View File

@ -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)