public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9efa268
)
coco3: ttydw.c: fix bad port to minor translation on close.
author
Brett Gordon
<beretta42@gmail.com>
Tue, 8 Dec 2015 22:56:22 +0000
(17:56 -0500)
committer
Brett Gordon
<beretta42@gmail.com>
Thu, 10 Dec 2015 21:35:14 +0000
(16:35 -0500)
Kernel/platform-coco3/ttydw.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-coco3/ttydw.c
b/Kernel/platform-coco3/ttydw.c
index
99d7a07
..
b05d80e
100644
(file)
--- a/
Kernel/platform-coco3/ttydw.c
+++ b/
Kernel/platform-coco3/ttydw.c
@@
-232,10
+232,10
@@
void dw_vpoll( ){
}
/* VSER Channel closed? */
if( buf[0] == 16 ){
- int minor=dw_minor( buf[1]
-1
);
- struct dw_in *p=dw_gettab( buf[1]
-1
);
+ int minor=dw_minor( buf[1] );
+ struct dw_in *p=dw_gettab( buf[1] );
dw_vclose( minor );
- tty_carrier_drop( minor
+1
);
+ tty_carrier_drop( minor);
continue;
}
/* VSER channel multiple data */