Ported to OpenBSD

This commit is contained in:
Michiel Broek
2004-12-28 15:30:52 +00:00
parent d1603b8109
commit 2cec96dca1
17 changed files with 47 additions and 37 deletions

View File

@@ -106,6 +106,9 @@ int CountTtyinfo(void)
#endif
#ifdef __NetBSD__
sprintf(ttyinfo.tty, "ttyi%c", i + 'a'); // NetBSD on a Sparc, how about PC's?
#endif
#ifdef __OpenBSD__
sprintf(ttyinfo.tty, "cuaia%d", i); // I think this is wrong!
#endif
sprintf(ttyinfo.speed, "64 kbits");
sprintf(ttyinfo.flags, "XA,X75,CM");
@@ -128,6 +131,9 @@ int CountTtyinfo(void)
#endif
#ifdef __NetBSD__
sprintf(ttyinfo.tty, "tty%c", i + 'a'); // NetBSD on a Sparc, how about PC's?
#endif
#ifdef __OpenBSD__
sprintf(ttyinfo.tty, "tty0%d", i);
#endif
sprintf(ttyinfo.speed, "33.6 kbits");
sprintf(ttyinfo.flags, "CM,XA,V32B,V42B,V34");