diff options
author | bde <bde@FreeBSD.org> | 1994-10-30 21:01:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-10-30 21:01:04 +0000 |
commit | c45ff33f5fd06bf57a411e8bb8081569c5e769a2 (patch) | |
tree | 7320acba7c891a9e75d1564861672a8252550885 /usr.bin | |
parent | e557ddcc18c6008c5961f07f23f83dc22839dd11 (diff) | |
download | FreeBSD-src-c45ff33f5fd06bf57a411e8bb8081569c5e769a2.zip FreeBSD-src-c45ff33f5fd06bf57a411e8bb8081569c5e769a2.tar.gz |
Give up instead of looping endlessly for unknown speeds.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/window/wwinit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/window/wwinit.c b/usr.bin/window/wwinit.c index b94d312..a20bef1 100644 --- a/usr.bin/window/wwinit.c +++ b/usr.bin/window/wwinit.c @@ -129,8 +129,7 @@ wwinit() switch (wwospeed) { default: case B0: - wwbaud = 0; - break; + goto bad; case B50: wwbaud = 50; break; |