public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37778f
)
start: fix screw up in tty changes
author
Alan Cox
<alan@etchedpixels.co.uk>
Fri, 14 Nov 2014 18:09:48 +0000
(18:09 +0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Fri, 14 Nov 2014 18:09:48 +0000
(18:09 +0000)
Kernel/start.c
patch
|
blob
|
history
diff --git
a/Kernel/start.c
b/Kernel/start.c
index
ef91e4b
..
0f0fe5d
100644
(file)
--- a/
Kernel/start.c
+++ b/
Kernel/start.c
@@
-22,10
+22,10
@@
static struct termios ttydflt = {
};
void tty_init(void) {
- struct t
ermios
*t = &ttydata[1];
+ struct t
ty
*t = &ttydata[1];
int i;
for(i = 1; i <= NUM_DEV_TTY; i++) {
- memcpy(
t
, &ttydflt, sizeof(struct termios));
+ memcpy(
&t->termios
, &ttydflt, sizeof(struct termios));
t++;
}
}