3
0
forked from pool/util-linux
Dr. Werner Fink 2014-02-04 11:17:06 +00:00 committed by Git OBS Bridge
parent 9ce9fc0bcf
commit 938e8217dd

View File

@ -32,7 +32,7 @@ is compatible with VT220.
+ * higher. Whereas the second serial line on a S/390(x) is + * higher. Whereas the second serial line on a S/390(x) is
+ * a real character terminal which is compatible with VT220. + * a real character terminal which is compatible with VT220.
+ */ + */
+ if (strcmp(op->tty, "ttyS0") == 0 || strncmp(op->tty, "3270/tty", 8)) + if (strcmp(op->tty, "ttyS0") == 0 || strncmp(op->tty, "3270/tty", 8) == 0)
+ op->term = DEFAULT_TTYS0; + op->term = DEFAULT_TTYS0;
+ else if (strcmp(op->tty, "ttyS1") == 0) + else if (strcmp(op->tty, "ttyS1") == 0)
+ op->term = DEFAULT_TTYS1; + op->term = DEFAULT_TTYS1;